[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_OBJEXT again
From: |
Akim Demaille |
Subject: |
Re: AC_OBJEXT again |
Date: |
12 Dec 2000 18:51:15 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
>>>>> "Peter" == Peter Eisentraut <address@hidden> writes:
Peter> Akim Demaille writes:
>> * host or build characteristic?
Peter> It's neither, nor should it matter. It's a feature of the
Peter> compiler. If there's an alternative Cygwin compiler that
Peter> generates .com files, then that's what EXEEXT is. If there's a
Peter> regular Unix compiler that generates a file 'foo.bazoo' when
Peter> invoked 'cc ... -o foo', then EXEEXT='.bazoo'. Also, a
Peter> compiler suite could theoretically choose just about anything
Peter> for OBJEXT, since those files go from the compiler to the
Peter> linker and neither the host nor the build operating system or
Peter> CPU care.
What you describe is precisely what I meant by `build': there is not a
single reference to the host in what you describe. That's also why
just testing the compiler is not what everybody wants. Why? Because
some people might use a cross-compiler which produces foo, not
foo.exe, while the machine on which the executable will be installed
needs to be installed as foo.exe.
Peter> Any solution that uses 'uname', preprocessor symbols, or other
Peter> random features of a particular affected system is not going to
Peter> be general. That's the imake way.
What I described is the rationale for departing from the Autoconf
philosophy: we want to adjust ourselves to something we just can't
check: the host environment.
Why isn't `install' which takes care of this on the *host* machine?
- Re: AC_OBJEXT again, Akim Demaille, 2000/12/07
- Re: AC_OBJEXT again, Morten Eriksen, 2000/12/07
- Re: AC_OBJEXT again, Akim Demaille, 2000/12/07
- Re: AC_OBJEXT again, Alexandre Oliva, 2000/12/08
- Re: AC_OBJEXT again, Akim Demaille, 2000/12/12
- Re: AC_OBJEXT again, Akim Demaille, 2000/12/12
- Re: AC_OBJEXT again, Peter Eisentraut, 2000/12/12
- Re: AC_OBJEXT again, Alexandre Oliva, 2000/12/12
- Re: AC_OBJEXT again,
Akim Demaille <=
- Re: AC_OBJEXT again, Alexandre Oliva, 2000/12/12
- Re: AC_OBJEXT again, Akim Demaille, 2000/12/12
- Re: AC_OBJEXT again, akim, 2000/12/12
- Re: AC_OBJEXT again, Alexandre Oliva, 2000/12/12
- Re: AC_OBJEXT again, Akim Demaille, 2000/12/13
- AC_CYGWIN etc. (Was: AC_OBJEXT again), Akim Demaille, 2000/12/13
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Mo DeJong, 2000/12/13
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Alexandre Oliva, 2000/12/13
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Mo DeJong, 2000/12/14
- Re: AC_CYGWIN etc. (Was: AC_OBJEXT again), Akim Demaille, 2000/12/14