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

$> gcc --version
Hi, is -dumpversion not a standard flag? # on redhat sohail@dev-tk-bld-rhel3:~$ gcc -dumpversion 3.2.3 # on cygwin $ gcc -dumpversion 3.4.4 Sohail

Sohail Somani wrote:
Hm, didn't know that existed... Looks like we can get the relevant info by using both -dumpversion and -dumpmachine. Thanks for pointing those out. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

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> Boris ----- Original Message ----- From: "Rene Rivera" <grafikrobot@gmail.com> To: <boost@lists.boost.org> Sent: Monday, January 08, 2007 1:26 PM Subject: Re: [boost] [tools] gcc compiler version detection
participants (4)
-
Boris Gubenko
-
Glenn Schrader
-
Rene Rivera
-
Sohail Somani