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] |
Joao -- First I installed a native gcc from binaries. Then I built the binutils as follows: #cd build-binutils #host=sparc-sun-solaris2 #target=powerpc-eabi #prefix=/export/home/cross #i=$prefix/bin #../binutils-2.11.90.0.1/configure --target=$target --prefix=$prefix -v #make all install So far so good?? Good stuff showed up in cross. Now for gcc: #cd ../build-gcc #../gcc-2.95.2/configure --target=$target --prefix=$prefix -v (seemed to work) #make all install ... done _muldi3 ../../gcc-2.95.2/gcc/libgcc2.c:41: stdlib.h: No such file or directory ../../gcc-2.95.2/gcc/libgcc2.c:42: unistd.h: No such file or directory Regards, Steve -----Original Message----- From: Joćo Cadamuro Junior [mailto:cadamuro@lit.cpdtt.cefetpr.br] Sent: Monday, April 16, 2001 4:03 PM To: Conyers, Steve Cc: 'crossgcc@sourceware.cygnus.com' Subject: Re: Do I have to run fixproto manually? > Howdy! > > I am new to gcc and am attempting to build it for a powerpc target with a > Solaris host. > #make all install > is blowing away cuz it can't find stdlib.h and unistd.h. A comment in > gcc-2.95.2/gcc/libgcc2.c says that fixproto guarantees the existence of > these headers The target header files must be supplied by you during "configure" phase. Could you give us more informations about your "configure" options and library used (libc or newlib, and the library version)? > . Does it make sense for me to manually invoke fixproto first > or do I have some more fundamental problem? > > Regards, Steve Conyers > > ------ > Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com Joćo Cadamuro Junior LIT / CPDTT / CEFET-PR URL: http://www.lit.cpdtt.cefetpr.br ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |