ct-ng: CLooG link failure in canadian-cross context
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Wed Jul 28 21:35:00 GMT 2010
Esben, Bernhard, All,
On Wednesday 28 July 2010 16:18:57 Esben Haabendal wrote:
> > [ALL ] /bin/bash ./libtool --tag=CC --mode=link
[--SNIP--]
> Why is libtool being called with --tag=CC and not --tag=CXX when it is
> used to link C++ code?
Bah... You know the answer: autostuff... :-/
> Maybe crosstool-ng should "build" a cross libtool companion when doing
> canadian cross? (see http://www.metastatic.org/text/libtool.html)
> Or even better (for me), allow environment to provide values for setting
> LIBTOOL env variable to something else when doing cross
> compilation/linking than when compiling/linking for build host. And for
> canadian, we actually need to be allowed to specify 3 different libtool
> commands to run. Of-course, a sane default would be too let
> LIBTOOL=libtool for build host, LIBTOOL=$CT_HOST_PREFIX-libtool for host
> and LIBTOOL=$CT_TARGET_PREFIX-libtool for target.
Well, well, well... I am a bit uneasy to delve into the libtool stuff,
as I don't master that... If you can come up with a patch, then I'd be
glad to look at it. But make it post-1.8.0, which should come in the WE.
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