autoconf
[Top][All Lists]
Advanced

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

Re: Getting a list of available C compilers


From: Patrick M. Rutkowski
Subject: Re: Getting a list of available C compilers
Date: Sat, 31 Oct 2009 08:20:13 -0400

Yea, though I'm unaware of how that could be done, I'd be very curious
to hear about why one would want it done to begin with.

-Patrick

On Sat, Oct 31, 2009 at 4:29 AM, Ralf Wildenhues <address@hidden> wrote:
> Hi Harlan,
>
> * Harlan Stenn wrote on Tue, Oct 27, 2009 at 12:39:24AM CET:
>> Does anybody have (a pointer to) a small utility that will return a list
>> of available C compilers on a system?
>
> I guess you can peek at AC_PROG_CC for a list, that is of course far
> from complete.
>
>> Extra points if it can ferret out multiple instances/versions of gcc...
>
> Question is why would you need it and what would you do with it?
> What does it help you to know about a bunch of $host-gcc-X.Y if
> you are not going to compile for $host?
>
> But yes, you should be able to walk the PATH and use some glob on each
> directory to find such candidates.
>
> HTH.  Cheers,
> Ralf
>
>
> _______________________________________________
> Autoconf mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/autoconf
>




reply via email to

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