I downloaded the source version 2.37 http://gpsd.berlios.de/#downloads
and did a configure the following way:

./configure --enable-static --without-pic --host=cris-axis-linux-gnu 
--build=i686-linux --disable-ubx --disable-ntrip --disable-tsip 
--disable-evermore --disable-gpsclock --disable-rtcm104  
--disable-python --disable-fv18 --disable-tripmate
--disable-earthmate --disable-itrax --disable-ashtech 
--disable-navcom --disable-garmin --disable-ntpshm 
--disable-pps --without-x --disable-dbus  --disable-shared

with this I disabled everything I really do not need.

a simple "make" produces the binary "gpsd".
This is not running, since it misses some libraries.
You need the following files and you should do a "cris-strip" on 
everyone, to decrease everything from 31M to 1.8M:

gpsd         libgcc_s.so      libnsl.a     libstdc++.a     
libstdc++.so.5.0.1
libgcc.a     libgcc_s.so.1    libnsl.so    libstdc++.so
libgcc_eh.a  libnsl-2.2.3.so  libnsl.so.1  libstdc++.so.5


I copied the libraries and the binary "gpsd" on an usb dongle 
connected to my foxboard. Additionally I created a script

--- start.sh ---
#!/bin/sh
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
./gpsd -F /var/gps.sock -n /dev/ttyUSB0
--- start.sh ---

If you now start the gpsd you can connect via telnet to port 2947
and it gives you the correct GPS coordinates.

greetings Juergen

Reply via email to