-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/15/11 9:39 AM, Jean-François Mertens wrote:
> On 15 Sep 2011, at 14:03, Alexander Hansen wrote:
> 
>> 
>> What's the best way to avoid dynamic lookup, given that the dylib
>> is generated via:
>> 
>> ( mkdir tmp ) ( cd tmp; ar -x 
>> /sw/src/fink.build/arpack-96patched-5/ARPACK/libarpack.a ) (
>> /sw/bin/gfortran-fsf-4.6 -O -fPIC -fno-common -dynamiclib 
>> -Wl,-undefined,dynamic_lookup -install_name
>> /sw/lib/libarpack.0.dylib -compatibility_version 1.0.0
>> -current_version 1.0.0 tmp/*.o -o 
>> /sw/src/fink.build/arpack-96patched-5/ARPACK/libarpack.dylib )
> 
> Avoid -Wl,-undefined,dynamic_lookup (and optionally replace
> -fno-common by -single_module), and add, according to the variant, 
> either -framework Accelerate or -L%p/lib -lf77blas (or -llapack
> -lf77blas _ don't remember the exact set of symbols to be looked
> up). [It is harmless to add superfluous libs, if you also use
> something like if [ `uname -r | cut -f1 -d.` -ge 9 ]; then 
> LDFLAGS="-Wl,-dead_strip_dylibs"; else LDFLAGS=""; fi ]
> 

Or I could just not bother, since 10.4 is walled off in its own little
world now. :-)

> JF
> 
> PS: and as an aside, it is also not needed to mkdir tmp and ar -x,
> if you use -all_load libarpack.a

Thanks!

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5yC00ACgkQB8UpO3rKjQ8CowCbB/+OE+zfDijtz2RHIeeuY5fd
2rEAn1aw+fnrREmlW+omzthyHbVC1OzM
=F6Gn
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to