Re: target triplet

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

 



On Sun, Jan 21, 2007 at 11:22:40PM +0100, Ralf Wildenhues wrote:
> Hello Bob,
> 
> * Bob Rossi wrote on Sun, Jan 21, 2007 at 11:15:23PM CET:
> > 
> > I would like to get access to the target triplet fields. The cpu, os
> > and vendor strings. Does autoconf provide these separatly?
> 
> Here you go:
> <http://www.gnu.org/software/autoconf/manual/html_node/Canonicalizing.html>
> 
> > If not, what's the correct way to parse it? Would it be,
> > cpu-os-vendor, where os could contain a - but cpu and vendor may not?
> 
> Correct.
> 
> But if you're out to use them as deciding data in configure tests, be
> reminded that leaving behind feature-based tests is the path that leads
> to the Dark Side.  The maintenance costs may haunt you in the long run.

Sure, I need to know what path separator to use in my application. 
I also need to know what separator to use in environment variables. Do
you have any better ideas than testing for mingw or cygwin?

Thanks,
Bob Rossi


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux