This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cross Compiling GCC 2.95.2 FAILS


Did you populate /usr/local/xdev/include with the necessary files?  The
home web page has a link to the cross-compile FAQ.

Tim Prince
----- Original Message -----
From: "JUstin Ducote" <justinduc@yahoo.com>
To: <gcc-bugs@gcc.gnu.org>
Cc: <bug-gcc@gnu.org>
Sent: Thursday, August 17, 2000 7:18 AM
Subject: Cross Compiling GCC 2.95.2 FAILS


> ./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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]