This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: More questions on sysroots
On 12/22/07, Brian Dessent <brian@dessent.net> wrote:
> NightStrike wrote:
>
> > This is where it dies as follows:
> > In file included from ../../../gcc/libgcc/../gcc/libgcc2.c:33:
> > ../../../gcc/libgcc/../gcc/tsystem.h:90:19: error: stdio.h: No such
> > file or directory
> > ../../../gcc/libgcc/../gcc/tsystem.h:93:23: error: sys/types.h: No
> > such file or directory
> > ../../../gcc/libgcc/../gcc/tsystem.h:96:19: error: errno.h: No such
> > file or directory
> > ../../../gcc/libgcc/../gcc/tsystem.h:103:20: error: string.h: No such
> > file or directory
> > ../../../gcc/libgcc/../gcc/tsystem.h:104:20: error: stdlib.h: No such
> > file or directory
> > ../../../gcc/libgcc/../gcc/tsystem.h:105:20: error: unistd.h: No such
> > file or directory
>
> You cut out the part that would have been useful, namely the -B and -I
> arguments passed to xgcc.
Not really cut out.. I just redirected stdout to /dev/null and only
had the stderr to look at. Here is the part that I lost:
/var/tmp/build/gcc-svn/build-x86_64-pc-linux/./gcc/xgcc
-B/var/tmp/build/gcc-svn/build-x86_64-pc-linux/./gcc/
-L/var/tmp/build/gcc-svn/build-x86_64-pc-linux/x86_64-pc-mingw32/winsup/mingw
-L/var/tmp/build/gcc-svn/build-x86_64-pc-linux/x86_64-pc-mingw32/winsup/w32api/lib
-isystem /var/tmp/build/gcc-svn/gcc/winsup/mingw/include -isystem
/var/tmp/build/gcc-svn/gcc/winsup/w32api/include
-B/var/tmp/rt/x86_64-pc-mingw32/bin/
-B/var/tmp/rt/x86_64-pc-mingw32/lib/ -isystem
/var/tmp/rt/x86_64-pc-mingw32/include -isystem
/var/tmp/rt/x86_64-pc-mingw32/sys-include -O2 -g -g -O2 -O2
-I../../gcc/gcc/../winsup/w32api/include -O2 -g -g -O2 -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc -I../../../gcc/libgcc
-I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc
-I../../../gcc/libgcc/../include -DHAVE_CC_TLS -o _muldi3.o -MT
_muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c
../../../gcc/libgcc/../gcc/libgcc2.c \