[csw-maintainers] GAR mutliple ISA samples

Dagobert Michelsen dam at opencsw.org
Mon Mar 16 23:26:00 CET 2009


Hi William,

Am 16.03.2009 um 23:03 schrieb William Bonnet:
> I am trying to build sparcv8 and v9 binaries for sqlite3 and i am  
> looking for an examples in the GAR Makefiles ?

Lots ;-) In most cases it is sufficient to say
   BUILD64 = 1
This makes one build for 32 bit and one for 64 bit and merges all
together "in the right way". It is documented here:
   <http://apps.sourceforge.net/mediawiki/gar/index.php?title=Building_for_multiple_ISAs 
 >

Binaries are usually isaexec'ed. If you don't want that you can set
   NOISAEXEC = 1

> Which one should i use as template ?

For standard locations 'grep BUILD64 */trunk/Makefile' ;-)
For non-standard locations you can look at bdb44.

> Actually binaries are built in different dirs but when merge, i  
> don't have the sparcv9 subdir created

This is most likely due to non-standard locations for your application.
You must install e. g. install libraries into $(libdir) or the default
merge will fail. Where did you commit the things so I can have a look
at it?


Best regards

   -- Dago



More information about the maintainers mailing list