Akim Demaille wrote:
>
> Maybe we should just make the difference between cross-compilation or
> not? Here is what I propose.
>
> 1. AC_INIT uses uname to compute CYGWIN32, MINGW32 and EMXOS2,
> hence OBJEXT and EXEEXT.
>
> 2. AC_LANG_COMPILER if cross-compiling runs the old Cygwin32 etc.
> tests which involve a compilation (__CYGWIN32__). It changes OBJEXT
> and EXEEXT if needed.
>
This seems like heading into the wrong direction to me.
Morten's thought currently seems to be convincing to me:
Let's try to regard EXEEXT and OBJEXT as a tool's characteristics,
and do neither regard it as build nor host system characteristic.
EXEEXT and OBJEXT should be overrideable however.
Ralf
--
Ralf Corsepius
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung
(FAW)
Helmholtzstr. 16, 89081 Ulm, Germany Tel: +49/731/501-8690
mailto:[EMAIL PROTECTED] FAX: +49/731/501-999
http://www.faw.uni-ulm.de