At 17:11 Uhr -0500 17.11.2002, Carsten Klapp wrote:
Hi all,

I realized today that there are many fink programs which could be prebound right now but aren't, even though the fink dylib automatic prebinding isn't quite ready yet.

Using 'otool -L' I made of list of binaries which link ONLY to Apple-supplied dylibs, there are probably more as this list reflects what I have installed.

Files should be compiled and linked with the '-prebind' flag. If a file can't be prebound the compiler/linker just skips the prebinding step and spits out a warning.

I'm proposing the following patch to fink:
--------------------------------------------------------
--- PkgVersion.pm-original Fri Oct 25 02:41:42 2002
+++ PkgVersion.pm Sun Nov 17 16:46:51 2002
@@ -1710,5 +1710,7 @@
my ($varname, $s, $expand);
my %defaults = ( "CPPFLAGS" => "-I\%p/include",
- "LDFLAGS" => "-L\%p/lib" );
+ "LDFLAGS" => "-prebind -L\%p/lib",
+ "CFLAGS" => "-prebind",
+ "MFLAGS" => "-j8" )
my $bsbase = get_bsbase();

--------------------------------------------------------

The problem with this is that could cause a *lot* of regressions. Feel free to modify your local version of Fink and try, or even better, bootstrap a clean new install using it (verifying that still works with your change).

I am not really willing to put that into CVS just now, we are already trying to stabilize a fairly major change there, and I want to get a new release out of fink eventually. That said, one could always make a branch for this if you think it's useful to do so.


Max
--
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Reply via email to