[GRASS5] Shared Libraries

Markus Neteler neteler at itc.it
Sun Apr 21 12:38:54 EDT 2002


On Sun, Apr 21, 2002 at 03:59:22PM +0100, Glynn Clements wrote:
> 
> Markus Neteler wrote:
> 
> > > > > FWIW, it's now possible to build GRASS on Linux with most of the main
> > > > > libraries as shared libraries. Brief instructions are in mk/README.
> > > > 
> > > > Glynn,
> > > > 
> > > > just curious: Is there a way to allow for individual compiles with
> > > > make? E.g.
> > > > 
> > > > src/libes/proj > make
> > > > makefile:2: head.mk: File or directory not found
> > > > makefile:60: tail.mk: File or directory not found
> > > > make: *** No rule to make target 'tail.mk'.  Stop.
> > > 
> > > See the "gmake5" script which is created during the build process (or
> > > by "make gmake".
> > 
> > Yes - but then I receive again a static library, right?
> 
> No. The alternate build mechanism (from the "mk" directory) creates
> its own "gmake5" script, which basically just runs "make" with the
> right options.
> 
> Static vs shared depends upon the mid.mk file. If you use the default
> file, you get static libraries; if you replace it with mid.mk.shlib,
> you get shared libraries.

Sorry - I didn't realize that "gmake5" was generated in the top
directory (usually it was bin.$ARCH). Of course I get shared libs
with that version of "gmake5". 

Markus



More information about the grass-dev mailing list