This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

RE: Build failing for pc plateform


> Hi,
> 
> I downloaded the ver gcc-2.95.2
> I am trying to the build the the gcc
> for i686-pc-cygwin32 host and
> powerpc-ibm-eabi target environment.
> 
> configure works ok but mak fails at
> 
> ./libgcc2.c:41: stdlib.h: no such file or directory
> ./libgcc2.c:42: unistd.h: No Such file or directory
> make[3]: ***[libgcc2.a] Error 1
> make[2]: ***[stmp-multilib-sub] error 2
> make[1]: ***[stmp-multilib] Error 1
> make: ***[all-gcc] Error 2
> 
	[Stephane Dalton]  you must provide some way to gcc (the native one)
to find the target header files... basically you have two choices:
	you can use the --with-header switch during configure
	or 
	you can setup a symlink in the directory where gcc is expecting to
see its header file (you should see just before the error when gcc is trying
to compile libgcc2.c the command line contains some -I path one of them is
probably /usr/local/power.../include

	Good luck!

------
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]