[ gpsdrive ] compiling gpsdrive - gcc
Hamish
hamish_nospam at yahoo.com
Mon Jul 30 01:10:46 AKDT 2007
> >> I tried to compile gpsdrive-2.09 and gpsdrive-2.10pre2 on an opensuse10.2
> >> and with both version I get the following error with ./configure:
> >>
> >> Using gcc compiler
> >> *****************************************
> >> You need a gcc >= 3.x to compile GpsDrive
> >> *****************************************
> >>
> >> What could I do to compile gpsdrive with version 4.1.2?
..
> Would be better to change it to:
>
> if $CC -dumpversion|egrep -q "^[34]\.*"; then
future proof it more: "^[3-9]\.*" (or [3456789], my regex is rusty)
(or "^[^12]\.*" ?)
better would be GCC_MAJOR=`` ; then if [ "$GCC_MAJOR" -ge 3 ] ; then .. fi
Hamish
____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/
More information about the GPSdrive
mailing list