This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: building native tools in a cross-compile environment
- From: Kevin Ryde <user42 at zip dot com dot au>
- To: automake at gnu dot org
- Date: Wed, 10 Jul 2002 11:45:46 +1000
- Subject: Re: building native tools in a cross-compile environment
- References: <47179.1024454201@dog.pfcs.com> <87bs9gqvxg.fsf@fleche.redhat.com>
Tom Tromey <tromey@redhat.com> writes:
>
> I think we'd need some autoconf support to make this really work. For
> instance you'd probably want to be able to run tests on both
> compilers, generate two different config.h's, etc.
Yes. I've been setting up some stuff like that for GMP to run a
couple of build-time programs. I've not found a need for a build
system config.h so far, since it isn't too hard to be fairly minimal.
But EXEEXT_FOR_BUILD, LIBM_FOR_BUILD, and ansi2knr setups for
CC_FOR_BUILD, those things have to be pretty much duplicated.