summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-13 00:11:08 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-13 00:11:08 +0000
commit278bfdfd346b5285bcc1ba9fd85f0394c9d0b356 (patch)
treeba6984457e515dd296aab7d31800866cdb356a60 /INSTALL
parent64a7ff91d256d4806d0fdd75325a44e5a3136c5d (diff)
downloadgpsd-278bfdfd346b5285bcc1ba9fd85f0394c9d0b356.tar.gz
With gcc4 we can integrate rtcm.c into the library...
...because the default options of gcc4 generate good code for the rtcm.c module.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL6
1 files changed, 6 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 49ee7fd3..81e1e9af 100644
--- a/INSTALL
+++ b/INSTALL
@@ -40,6 +40,12 @@ To build from source, run ./autogen.sh (or sh autogen.sh if the
script does not have execute permission). Mac OS X users may
need to do "./autogen.sh --x-includes=/usr/X11R6/include"
+Note: if you are going to use the RTCM-104 support, you should compile
+with gcc4; if you don't have it installed as your default
+compiler, do this by specifying CC=gcc4 before the autogen.sh
+command. The rtcm.c file confuses the gcc-3.4.[23] optimizer
+at -O2 level, making it generate incorrect code.
+
Then run make: libgps.so, gpsd, xgps, and xgpsspeed will be
built. Copy the app-defaults files xgps.ad and xgpsspeed.ad to your
home directory or to the system-wide X app-defaults directory.