www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/11/10/00:00:07

Date: Sat, 09 Nov 2002 23:59:25 -0500
From: 2boxers <2boxers AT comcast DOT net>
Subject: linux host gcc-2.95.3 cross compiler to i686-pc-msdosdjgpp target
To: djgpp-workers-ml <djgpp-workers AT delorie DOT com>,
crossgcc-ml <crossgcc AT sources DOT redhat DOT com>
Message-id: <017301c28875$f0cd6920$021ca8c0@helm>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
X-Priority: 3
X-MSMail-priority: Normal
Reply-To: djgpp-workers AT delorie DOT com

I am trying to compile gcc-2.95.3 as a cross compiler ( linux host,
msdosdjgpp target )
I can build and install binutils and the compiler itself, but the libstdc++
build has an error.

I have seen that this question has been asked a number of times in many
different places, but I have yet to find the answer.

Can anybody suggest a safe way around this?

In file included from
../../../gcc-2.95.3-src/libiberty/../include/libiberty.h:127,
from ../../../gcc-2.95.3-src/libiberty/choose-temp.c:47:
/root/updates/gcc/djgpp/cross3/gcc-2.95.3-obj/gcc/include/stddef.h:170:
warning: redefinition of `size_t'
/root/updates/gcc/djgpp/cross3/gcc-2.95.3-obj/gcc/include/stdio.h:40:
warning: `size_t' previously declared here
/root/updates/gcc/djgpp/cross3/gcc-2.95.3-obj/gcc/include/stddef.h:255:
conflicting types for `wchar_t'
/usr/local/compiler/cross3/djgpp/lib/gcc-lib/i686-pc-msdosdjgpp/2.95.3/../..
/../../i686-pc-msdosdjgpp/sys-include/stdlib.h:39: previous declaration of
`wchar_t'
make[1]: *** [choose-temp.o] Error 1
make[1]: Leaving directory
`/root/updates/gcc/djgpp/cross3/gcc-2.95.3-obj/i686-pc-msdosdjgpp/libiberty'
make: *** [all-target-libiberty] Error 2

Please?

Thank you.
Charles


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019