Boost logo

Boost :

From: Glenn Schrader (gschrad_at_[hidden])
Date: 2007-01-08 15:23:35


Boris Gubenko wrote:
> Rene Rivera wrote:
>
>> Hm, didn't know that existed... Looks like we can get the relevant info
>> by using both -dumpversion and -dumpmachine.
>>
>
> Just be aware of the fact, that on HP-UX and Tru64 (and, may be, some other
> systems), the output of -dumpversion is not as "clean" as it is on Linux:
>
> HP-UX
> -----
> bash-2.03$ gcc -dumpversion
> 2.9-hppa-991112
> bash-2.03$
>
> Tru64
> -----
> cxxosf.zko.hp.com> gcc -dumpversion
> 2.9-gnupro-99r1
> cxxosf.zko.hp.com>
>
Even though these aren't in exactly the same format they would still be
completely valid directory names. I also wouldn't be surprised if
'gcc --version' put out the same string.

-glenn


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk