[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Checking for GCC 4
From: |
E. Rosten |
Subject: |
Re: Checking for GCC 4 |
Date: |
Thu, 2 Feb 2006 13:52:14 +0000 (GMT) |
> How can I make sure user has at least gcc4 installed?
(after establishing that the compiler is gcc), and doing AC_PROG_AWK:
version=`$CXX -v 2>&1 | $AWK -F'[ .]' '/version/{print $3}'`
should do the job. There are some reasons for doing this (bigish changes
in standards compliance in g++ 4 compared to g++ 3), but you should
probably check to see if you're not being overly restrictive before
implementing this test.
-Ed
--
(You can't go wrong with psycho-rats.) (er258)(@)(eng.cam)(.ac.uk)
/d{def}def/f{/Times findfont s scalefont setfont}d/s{10}d/r{roll}d f 5/m
{moveto}d -1 r 230 350 m 0 1 179{1 index show 88 rotate 4 mul 0 rmoveto}
for /s 15 d f pop 240 420 m 0 1 3 { 4 2 1 r sub -1 r show } for showpage
- Re: Checking for GCC 4,
E. Rosten <=
- Re: Checking for GCC 4, Ralf Corsepius, 2006/02/02
- Re: Checking for GCC 4, Warren Young, 2006/02/02
- Re: Checking for GCC 4, Harlan Stenn, 2006/02/02
- Re: Checking for GCC 4, Paul Smith, 2006/02/02
- Re: Checking for GCC 4, Harlan Stenn, 2006/02/02
- Re: Checking for GCC 4, Ralf Corsepius, 2006/02/02
- Re: Checking for GCC 4, Harlan Stenn, 2006/02/02
- Re: Checking for GCC 4, Paul Smith, 2006/02/03
- Re: Checking for GCC 4, Ralf Corsepius, 2006/02/03
- Re: Checking for GCC 4, Harlan Stenn, 2006/02/03