Begin with creating make.targets/Makefile.YOURTARGET, where YOURTARGET is the name you will to use to identify your platform.
A good start would be to copy the the Makefile.xxx file (where xxx is closest to your type of system, e.g. Makefile.cygwin) and change all necessary configuration macros. Most likely you will need to modify:
Next step would be to compile the GLCT library.
Go to the directory ./glct/project and type:
% make TARGET=YOURTARGET all
This library is provided in source code and most likely your don't need to modify it. It also written to be very portable. If you see compilation errors first try to adjust your Makefile.YOURTARGET. If you are still not able to compile GLCT please let us know and we will fix it for you.
Next step would be to compile the GLHAL library. Here you might need to get your feet wet and modify our sample code to accommodate for your platform IO APIs and for the way GLGPS communicates with the navigation applications and network on your device.
Procedure of porting GLHAL to your platform is described in greater details in Hardware Abstraction Layer (HAL).
Once you have your HAL compiled the remaining step is to compile main.c and link with all three GL libraries: GLL, GLCT, and GLHAL.
Copy the complete contents of the glsample/glsample_cygwin directory to the glsample/glsample_YOURTARGET Once you done that type
% make TARGET=YOURTARGET all.
Platform build issues with GLCT and GLHAL were previously resolved, so this make should have no issues.
The easy part is done. Now let's do some debugging. The test procedure is described in .GL GPS Integration verification.