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] |
Richard, All, On Wednesday 24 February 2010 01:47:11 theHog wrote: > I've built a 'arm-unknown-linux-uclibcgnueabi' toolchain with ct-ng 1.6.0 > using the sample profile that comes with ct-ng. However, when running a > program that links to the libstdc++.so.6 shared library, the following errors > occurs: > > "Can't modify /lib/libstdc++.so.6's text section. Use GCC option -fPIC for > shared objects, please." Works for me under qemu, using your supplied test file: # arm-unknown-linux-uclibcgnueabi-g++ -o ess ess.c # qemu-arm -L /.../arm-unknown-linux-uclibcgnueabi/sys-root ./ess 1 2 3 4 5 6 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] |