Dear Fink developers,

I've just added the first fink package to provide 64bit libraries, to  
the 10.4 tree only.  The new package is called gmp-64bit, and it has  
several new features which I'm going to suggest should become a  
standard part of fink.  I suggest that appending -64bit to the name  
should become the standard way to specify a variant which builds  
64bit libraries (and executables).

The gmp-64bit package depends on a new virtual package "64bit-cpu",  
which became available with fink-0.24.24.  For the moment, this means  
that it will only build and run on G5 hardware, but since we are all  
expecting 64bit intel Macs before too long, the same system should  
work for 64bit libraries on either architecture.

The 64bit libraries are stored in /sw/lib64 rather than /sw/lib.   
This necessitates several changes for any package wanting to use  
them:  on the one hand, one needs

NoSetLDFLAGS: true
SetLDFLAGS: -L%p/lib64

to use (other) 64bit libraries at compile-time.  On the other hand,  
one needs something like

ConfigureParams:  --libdir='${prefix}/lib64'

to make sure that the libraries being built and installed will go  
into the correct location.  (This is for autoconf-based software --  
other things may require other methods).

There will probably be other flags that have to be passed at compile- 
time to get 64bit libraries instead of 32bit ones, but they are  
likely to be package-specific at this point.

   -- Dave


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to