Hello Reuben,

* Reuben Thomas wrote on Mon, Mar 22, 2010 at 04:44:17PM CET:
> 2010/3/22 Russell Shaw:
> > Steffen Dettmer wrote:
> >> * On Sun, Mar 21, 2010 at 10:27 AM, Ralf Wildenhues wrote:
> >>> BTW, execution of built programs like this makes your package unsuitable
> >>> for cross-compilation.  Just so you're aware of that.
> 
> Not true.
Huh?  On the level of implementation Russel is working on, that is very
much true.  Please read the whole thread; I didn't say this is
impossible.

> automake does not have explicit support for building
> programs with the host compiler when cross-compiling, but I have done
> this successfully in the past when I needed precisely to build a
> program on the host when cross compiling, using binutils's
> BFD_CC_FOR_BUILD macro. It's a pity some version of this macro isn't
> in autoconf, or even autoconf-archive; I shall do the latter.

Why not go for Autoconf?  That is where it should belong, and yes,
better support for this situation would be very nice to have integrated
better.

> This illustrates a weirdness of autotools: poor support for installing
> interpreted languages, and also conversely for build-time compiled
> programs.

Hey, as they say, patches welcome!

Cheers,
Ralf


Reply via email to