This is the mail archive of the crossgcc@sourceware.org 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] |
Thomas, All, On Friday 11 June 2010 06:58:27 Thomas Taranowski wrote: > The resulting directory structure is a little weird. I'm outputting > to a ..../toolchain directory, and this is what I end up with: > ....toolchain/bin -- contains the built cross compilers with the > correct prefix. These compilers build binaries for the target. > ....toolchain/powerpc-unknown-linux-gnu/bin -- These compilers, which > have no prefix, build binaries for my x86 host! Are you sure? Did you try? Just run that gcc with: ...toolchain/powerpc-unknown-linux-gnu/bin/gcc -v and see what it says... Anyway, those are internal executables, don't mess with them! The ones that matter are in "...toolchain/bin", as you discovered initially. > Then, when I compile I end up with the following error: > powerpc-unknown-linux-gnu-g++: /lib/tls/i686/cmov/libc.so.6: version > `GLIBC_2.11' not found (required by powerpc-unknown-linux-gnu-g++) > Any ideas as to why it's looking for the i686 libc.so.6? It is needed to _run_ the 'powerpc-unknown-linux-gnu-g++' program. Just run: ldd ...toolchain/bin/powerpc-unknown-linux-gnu-g++ and see what libraries it is looking for, and which are missing. Did you move your toolchain from one machine to another ? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |