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: Building a static toolchain ?


Arnaud, All,

On Saturday 10 April 2010 19:20:29 Yann E. MORIN wrote:
> What I thought. But cloog is built with:
>  --with-host-libstdcxx='-Wl,-Bstatic,-lstdc++,-Bdynamic -lm'
> I have tried to manually link the sucker, but to no avail. I have to
> understand why on earth libtool passes the above link flags *before* the
> other libs. It must be *after*, or the libstdc++ will not be parsed for
> required symbols.

Yes, that was the issue. Passing -Wl,-Bstatic,blabla after all the other
libraries fixes it.

Sigh. I hate libtool. Period.

> > What is your .config btw ?

Forget about it, I now have a hammer, and a nail to... nail.

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]