[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cross-compiling but keeping one target native
From: |
NightStrike |
Subject: |
Re: cross-compiling but keeping one target native |
Date: |
Sat, 15 May 2010 23:41:27 -0400 |
On Sat, May 15, 2010 at 1:52 PM, Natalie Tasman
<address@hidden> wrote:
> I'm working on a build system with autotools. I'd like to cross-compile,
> building a mingw/windows executable from linux. So far, my system works
> well with the --host option (and appropriate cross tools installed, from the
> mingw-cross-env project.)
>
> I have one target which is actually a utility used during *build* time. Is
> it possible to specify one target which should *not* be built with the
> cross-compiler, but natively instead?
>
> I've considered creating a separate config.ac/Makefile.am for this one
> executable, but am hoping to find a simpler solution.
There's a way to do this as I recall, but I forget offhand. You'd
really be best off asking on the automake mailing list. They'll help
you out.