Building a static toolchain ?
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Sat Apr 10 17:28:00 GMT 2010
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
More information about the crossgcc
mailing list