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 there, I found a query similar to this on the archives, but no answer, so I am posting it again. I am trying to compile gcc-3.2 and binutils-2.12.91 as a crosscompiler. My host is i686-pc-linux-gnu and my target is m68k-coff. My linux system is Redhat 7.3. I am compiling with gcc-2.96. Binutils makes fine (or seems too), but during the build of gcc-3.2 when it first tries to use the m68k-coff/bin/ld program (in the compilation of libiberty) I get the error checking whether the C compiler (/home/neillj/crosscompiler/build-gcc/gcc/xgcc -B/home/neillj/crosscompiler/build-gcc/gcc/ -B/usr/local/m68k-coff/bin/ -B/usr/local/m68k-coff/lib/ -isystem /usr/local/m68k-coff/include -g -O2 ) works... no On further examination, the error seems to be ... /usr/local/m68k-coff/bin/ld: cannot find -lc collect2: ld returned 1 exit status I have tried putting the (provided with redhat) libc library path in directly but this makes no difference. I have also read that there are problems using libc (2.2.?) if it was compiled with egcs but I have no idea if this is the problem here. Has anyone had a similar problem and found a solution? Do I have to compile a native version of gcc-3.2 first (instead of using gcc-2.96 as supplied by Redhat)? Would compiling libc again with gcc-3.2 or gcc-2.96 make any difference? Thanks for any help Regards Neill Jones ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |