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]

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



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


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