Re: [boost] [tools] gcc compiler version detection

[mailto:boost-bounces@lists.boost.org] On Behalf Of Boris Gubenko
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>
Nice. I'd guess that those are the ones built by the vendors though no?

Sohail Somani wrote:
Nice. I'd guess that those are the ones built by the vendors though no?
If you mean building the compiler on a target system as opposite to installing some prebuilt binary, then yes, they are "built by the vendors". "vendors" being HP-UX and Tru64 customers in this case (to the best of my knowledge, we do not provide prebuilt gcc for our platforms). Boris ----- Original Message ----- From: "Sohail Somani" <s.somani@fincad.com> To: <boost@lists.boost.org> Sent: Monday, January 08, 2007 2:46 PM Subject: Re: [boost] [tools] gcc compiler version detection
[mailto:boost-bounces@lists.boost.org] On Behalf Of Boris Gubenko
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>
Nice. I'd guess that those are the ones built by the vendors though no? _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Boris Gubenko
-
Sohail Somani