gold vs. CT_STATIC_TOOLCHAIN
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Wed Dec 14 00:09:00 GMT 2011
Johannes, All,
On Friday 02 December 2011 14:24:50 Johannes Stezenbach wrote:
> with CT_STATIC_TOOLCHAIN ./scripts/build/binutils/binutils.sh
> adds -all-static to LDFLAGS. However, -all-static is a libtool
> option and gold is not libtoolized. Maybe cg-ng should just
> disable gold when CT_STATIC_TOOLCHAIN is selected?
It works here for me:
$ file bin/armeb-unknown-linux-uclibcgnueabi-ld.gold
bin/armeb-unknown-linux-uclibcgnueabi-ld.gold: ELF 64-bit LSB executable,
x86-64, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.18,
not stripped
So, it is a statically-linked executable, exactly what we wanted.
How does it break for you?
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
More information about the crossgcc
mailing list