./libgcc2.c:41: stdlib.h: No such file or directory

ÃÂʤW¬u¤ô.... jwlin@csie.nctu.edu.tw
Sun Dec 12 19:58:00 GMT 1999


Hi All.

	I'm making the cross-gcc for ARM with "gcc-2.95.2",and some
	errors came up.
_muldi3
./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                               

	In the file libgcc2.c ,the follows are line 39 to line 43

#ifndef inhibit_libc
/* fixproto guarantees these system headers exist. */
#include <stdlib.h>
#include <unistd.h>
#endif                                            

	This error didn't happen with "gcc-2.8.1" because in the file
	libgcc2.c of gcc-2.8.1,these 5 lines DON'T EXIST.
	
	If someone knows how to correct this error and go on to make 
	the cross-complier?

	Thanks.
	

-- 
			Sincerely yours,
                                 E-mail Address: jwlin@csie.nctu.edu.tw

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



More information about the crossgcc mailing list