[GRASS-dev] Re: Shared library

António Rocha antonio.rocha at deimos.com.pt
Fri Oct 22 09:36:39 EDT 2010


Hi Pedro

it's simple (not easy):
gcc -g -fpic -c <file.c> &>
gcc -g -shared -o libfile.so file.o
And then:
Copy libfile.so to your GRASS/lib folder
Add -lfile at LIBES variable in your module's makefile

Ok, But now I have one question: My only question is how to do this for 
Windows with an OSGEO4W installation? Any ideas?
Antonio


__________ Information from ESET NOD32 Antivirus, version of virus signature database 5555 (20101022) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




More information about the grass-dev mailing list