This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc build fails in cygwin when making a cross compiler


Hello all,
i've used distcc b/w linux boxes, thats no sweat.   i wanted to use it
on a windows, and i happened across a gentoo wiki for how to do just
that:   http://gentoo-wiki.com/HOWTO_Distcc_server_on_Windows

we'll, i dont know if im going about it the right way or not, but im
up to the part where im supposed to build gcc on cygwin (down near the
bottom), but that fails

here's what it says:
#
/usr/src/build/gcc/gcc/xgcc -B/usr/src/build/gcc/gcc/ -B/usr/local/cross-linux/i
#
686-pc-linux-gnu/bin/ -B/usr/local/cross-linux/i686-pc-linux-gnu/lib/ -isystem /
#
usr/local/cross-linux/i686-pc-linux-gnu/include -O2 -DIN_GCC -DCROSS_COMPILE   -
#
W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./incl
#
ude  -I. -I. -I../../../gcc-3.3.5/gcc -I../../../gcc-3.3.5/gcc/. -I../../../gcc-
#
3.3.5/gcc/config -I../../../gcc-3.3.5/gcc/../include  -g0 -finhibit-size-directi
#
ve -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-
#
frame-pointer \
#
   -c ../../../gcc-3.3.5/gcc/crtstuff.c -DCRT_BEGIN \
#
  -o crtbegin.o
#
In file included from ../../../gcc-3.3.5/gcc/crtstuff.c:62:
#
../../../gcc-3.3.5/gcc/tsystem.h:72:19: stdio.h: No such file or directory
#
../../../gcc-3.3.5/gcc/tsystem.h:75:23: sys/types.h: No such file or directory
#
../../../gcc-3.3.5/gcc/tsystem.h:78:19: errno.h: No such file or directory
#
../../../gcc-3.3.5/gcc/tsystem.h:85:20: string.h: No such file or directory
#
../../../gcc-3.3.5/gcc/tsystem.h:89:20: stdlib.h: No such file or directory
#
../../../gcc-3.3.5/gcc/tsystem.h:90:20: unistd.h: No such file or directory
#
../../../gcc-3.3.5/gcc/tsystem.h:96:18: time.h: No such file or directory
#
../../../gcc-3.3.5/gcc/crtstuff.c: In function `__do_global_dtors_aux':
#
../../../gcc-3.3.5/gcc/crtstuff.c:277: warning: passing arg 1 of `__deregister_f
#
rame_info_bases' discards qualifiers from pointer target type
#
../../../gcc-3.3.5/gcc/crtstuff.c: In function `frame_dummy':
#
../../../gcc-3.3.5/gcc/crtstuff.c:313: warning: passing arg 1 of `__register_fra
#
me_info_bases' discards qualifiers from pointer target type
#
make[1]: *** [crtbegin.o] Error 1
#
make[1]: Leaving directory `/usr/src/build/gcc/gcc'
#
make: *** [all-gcc] Error 2 



out of the box, cygwin and distcc didnt work but i didnt expect it to.
 the buidl would get distributed but fail.  i'll be the first to admit
im in over my head, but i'm hoping if i am able to finish with this
guide it will work.

my cygwin box has gcc 3.3.3, and my gentoo box has 3.3.5.

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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