[ gpsdrive ] gpsDrive as library ?

Demetris Zavorotnichenko fgcity4652 at cytanet.com.cy
Fri Jan 18 06:36:11 AKST 2008


I have an environment for crossCompilation all set up, I have done this
before. 

I was mainly interested in the configuration for the ./config that I would
need to have to compile.

I have the Gumstix Platform and all the buildroot for it is already set up
by me.

I was asking this since I am new to GPSdrive and have seen that there were
posts on that some things have problems. So I wanted to know if it will be
OK to crosscompile for ARM.

-----Original Message-----
From: gpsdrive-bounces at lists.gpsdrivers.org
[mailto:gpsdrive-bounces at lists.gpsdrivers.org] On Behalf Of Gernot Hillier
Sent: Friday, January 18, 2008 5:23 PM
To: GPSdrive discussion list
Subject: Re: [ gpsdrive ] gpsDrive as library ?

Hi!

Demetris Z schrieb:
> So now I can use gpsDrive as a library ?

Well, the post of Jim in this thread exactly described what one can do
with his changes, so I don't exactly understand your question. If you
didn't receive the mail of Jim, you can find it in the archives:
http://lists.gpsdrivers.org/pipermail/gpsdrive/2008-January/000709.html

> What is the directory to get the SVN trunk ?

See the gpsdrive homepage, everything is described on
http://www.gpsdrive.de/download.shtml.

> What procedure should I follow to make this work on an ARM machine ?

I suppose that no-one has finished cross compilation support for cmake
yet, so it might mean you have to use the latest version with autotools
support, i.e. 2.10pre4 and cross-compile it in the usual way (by setting
--host, --target, --build accordingly). There's one small glitch in
2.10pre4 which doesn't allow the package to be built with a cross
compiler which is fixed by the following patch:
http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20071231/70a2a958
/attachment-0002.bin

However, if you never cross compiled a linux package before, be warned.
This might be a hard thing to do and needs a lot of time to fix all the
problems you stumble upon if you're building your cross compiler, fixing
the build environment for cross compilation etc. So if you don't have a
ready build environment for your ARM target or if you don't have
experience in doing such things, you might be much better of by taking a
ready embedded Linux distribution for your target and hope it has a
package for gpsdrive. OpenEmbedded, e.g., has a package for 2.10pre2 and
I submitted a package for 2.10pre4.

--
Gernot
_______________________________________________
GPSdrive mailing list
GPSdrive at lists.gpsdrivers.org
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive



More information about the GPSdrive mailing list