Trouble cross building target libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I have a gcc cross compiler that at least seems to work (I'm able to
cross compile binutils) - but I can't seem to be able to cross compile
gcc properly. The toplevel config.log seems fine:
configure:3896: checking for x86_64-builder-linux-gnu-gcc
configure:3912: found /home/ubuntu/obj/ntools/bin/x86_64-builder-linux-gnu-gcc
configure:3923: result: x86_64-builder-linux-gnu-gcc
.
But for instance x86_64-builder-linux-gnu/libstdc++-v3/config.log says
something that I did not expect:
configure:3559: checking for x86_64-builder-linux-gnu-gcc
configure:3586: result: cc

and cc is the compiler from the build system. Not the cross compiler.
I also see that this happens for libgcc. I guess it happens for all
target libraries.

The crossed gcc is configured like this:
/home/ubuntu/src/bin/gcc/configure
--prefix=/home/ubuntu/obj/btools/usr --host=x86_64-builder-linux-gnu
--build=x86_64-unknown-linux-gnu --enable-languages=c,c++
--disable-multilib --with-sysroot=/home/ubuntu/obj/btools

Any hints?

-- 
chs,




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux