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


_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to