R: R: R: [GRASS-dev] GRASS-6.3.0RC4 Windows Native Binary (MSYS)
Build Errors
Moritz Lennert
mlennert at club.worldonline.be
Fri Jan 25 06:18:44 EST 2008
On 25/01/08 11:32, marco.pasetti at alice.it wrote:
> PS: I think that including Windows API lots of problems could be fixed,
> changing functions like alarm(), fork(), wait()... in the source code,
> with their equivalents avaible in Windows API.
This is what Glynn suggests here:
http://lists.osgeo.org/pipermail/grass-dev/2008-January/034999.html
> Is there possible to make
> a conditional structure in order to determinate which build platform is
> in use? in the way to let gcc determinate which header/function it
> should include/compile?
Yes, just grep for "MINGW32" in lib/gis/ to see a whole series of
examples, such as rename.c, sleep.c, etc.
Moritz
More information about the grass-dev
mailing list