[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building native tools in a cross-compile environment
From: |
Kevin Ryde |
Subject: |
Re: building native tools in a cross-compile environment |
Date: |
Wed, 10 Jul 2002 11:45:46 +1000 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu) |
Tom Tromey <address@hidden> 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.