This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Cross Compiling GCC 2.95.2 FAILS
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Cross Compiling GCC 2.95.2 FAILS
- From: JUstin Ducote <justinduc at yahoo dot com>
- Date: Thu, 17 Aug 2000 07:18:34 -0700 (PDT)
- Cc: bug-gcc at gnu dot org
Hello, I attempted to build GCC 2.95.2 on both FreeBSD
and Linux (FreeBSD 4.1 and Redhat 6.2 [fresh brand new
installs]) and each failed with the same error..
First I installed BINUTILS 2.10
./configure --prefix=/usr/local/xdev
--target=i386-unknown-gnu
make
make install
worked fine, then I attempted the same with GCC
./configure --prefix=/usr/local/xdev
--target=i386-unknown-gnu
make LANGUAGES="c"
and it failed on both Linux and FreeBSD with the
following error:
_muldi3
In file included from tconfig.h:5,
from ./libgcc2.c:33:
config/xm-gnu.h:31: fcntl.h: No such file or directory
./libgcc2.c:41: stdlib.h: No such file or directory
./libgcc2.c:42: unistd.h: No such file or directory
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/root/gcc-2.95.2/gcc'
make: *** [all-gcc] Error 2
those files exist on both system and yet it still
manages to bomb out. Is this a known problem or am I
doing something incorrectly?
Justin
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/