Hi Glynn I had ran the "make" file, and I have a directory (OBJ.x86_64-unknown-linux-gnu) in r.example (together with the main.c, makefile, ... files). In OBJ.x86_64-unknown-linux-gnu directory I found and object file (main.o). Excuse me, but I don't know what to do with this file. Can I execute it from grass??? Compile it with gcc??? Run it directly???
Again, thanks for your help, and again, excuse me for the insistence. Juan Diego Giraldo Osorio UPCT EspaƱa > > Juan Diego Giraldo Osorio wrote: > > > Thanks for your help. The question about the folder permission is > > overcome. Now, when I had compiled the r.example code, I had followed > > the next procedure: > > > > - Get in to the dir > > cd /usr/COMPILA_GRASS62/doc/raster/r.example > > > > - in this folder is located the code. And I try to compile here: > > gcc main.c -o main > > > > You're telling me about a makefile. Is it necessary? If is necessary, > > how do I use the makefile??? > > Run "make" from the r.example directory, i.e.: > > cd /usr/COMPILA_GRASS62/doc/raster/r.example > make > > -- > Glynn Clements <[EMAIL PROTECTED]> > > _______________________________________________ grass-dev mailing list [email protected] http://grass.itc.it/mailman/listinfo/grass-dev

