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] |
Hi everybody, I am trying to make a cros compiler for host=build=i686-pc-linux-gnu and target=m68k-coff. I am using following packages: binutils-2.9.5.0.24 gcc-2.95.2 glibc-2.1 or newlib-1.9.0 gdb-4.18 all of these on Pentium III with SuSE Linux 6.4 (kernel 2.2.14). I am building in the following order: 1. binutils 2. gcc 3. lib Binutils compile fine. When I try to build gcc, everything goes fine (configure reports everything is OK) until "xgcc" comes into play. It cannot find usual header files like stdlib.h, unistd.h and so. this happens during compilation of libiberty and libgccc. When I link /usr/include to the build directory (probably the stupidest thing to do) compilation of libiberty and libgcc goes without errors but in a later stage (libio) it complains about redeclaration of some variables etc. Questions: 1. What is the proper order for making a cross-compiler? If I try to build libraries first, it fails because m68k-coff-gcc does not exist. 2. What header files should be included and from where? 3. Which library should I build, glibc or newlib? Thanks for your attention! Regards, NGC __________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com ------ 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] |