Re: OT:Cross-compiling
>On Wednesday 05 March 2003 9:23 pm, Jeff Elkins wrote:
>I'm running a mixed network of i386 and ppc boxen and have been working on
>building cross-compilers. The i386 side is completed and working well. The
>ppc side is crashing with the final step...compiling glibc.
>
>/usr/local/lib/gcc-lib/i386-linux/3.2.2/../../../../i386-linux/bin/ld:/home
>/ jeff/bglibc/libc.so.lds:114: syntax error
>collect2: ld returned 1 exit status
>make[1]: *** [/home/jeff/bglibc/libc.so] Error 1
>make[1]: Leaving directory `/home/jeff/glibc-2.3.2'
>make: *** [all] Error 2
/home/jeff/glibc-2.3.2/configure --prefix=/usr/local/i386-linux
--host=i386-linux --build=powerpc-linux --enable-add-ons --enable-threads
--enable-shared --with-headers=/usr/local/i386-linux/include
Unfortunately, rebuilding the tool chain with a newer copy of binutils didn't
make a difference. The configure options I used are printed above. If anyone
has an idea why this linking step fails, I'd sure appreciate hearing it.
Jeff Elkins
Reply to: