autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cross compiler a.out filename prepends ac_tool_prefix


From: Kevin Ryde
Subject: Re: cross compiler a.out filename prepends ac_tool_prefix
Date: Thu, 18 Dec 2003 07:14:49 +1000
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

[All messages to the list, not to me.]

Allan Clark <address@hidden> writes:
>
> I don't have the luxury of a GNU compiler that -- if I was intimate with
> the code -- I could simply change the output filename.  Of course, I'd
> need sourcecode.

You should be able to make a wrapper around whatever tool you've got.
If you publish such a wrapper on free terms you might even be able to
get a note about it in the autoconf manual.

> It's close to the Solaris or sysv5 types, but "i386cc" creates
> "i386a.out".  Even checking for "*a.out" works for me, but I do have to
> alter every ./configure I see, since autoconf's lang.m4 checks for
> "a.out" but not "*a.out".  Even matching ${ac_tool_prefix}[ab].out would
> work, matching quite precisely on a.out and b.out on non-cross-compile
> situations, and of course still matching on cross-compile situations.
>
> I can see the rationale of avoiding too many wildcards, though.

Personally I'd be more inclined to bring weird and wonderful cross
compilers to a common model, rather than to adapt autoconf to them.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]