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]

Re: gold vs. CT_STATIC_TOOLCHAIN


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]