Hi,
There's a lot of work involved to build all of fink's dylib libraries
as prebound, it probably won't happen any time soon.
However, any program which depends only on Apple-supplied dylibs can
easily be built prebound using the -prebind flag in CFLAGS and LDFLAGS.
Some packages already do build prebound executables, take a look at
these info files to see how it's done:
ccache, qtplay, antiword, fwipe, tidy (there's a few more but this
should give you an idea).
To see whether your executable is a candidate for prebinding, run otool
to see whether any libs from /sw are involved. If so, you're
unfortunately out of luck.
% otool -L /sw/bin/antiword
/sw/bin/antiword:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 62.0.0)
Once you think you managed to build a prebound executable, to confirm
that it really is prebound run redo_prebinding on it. If there are any
error messages then the binary was not prebound, so make sure you used
-prebind in CFLAGS and if linking is done then in LDFLAGS too.
% sudo redo_prebinding /sw/bin/antiword
Carsten
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel
- [Fink-devel] Prebinding John Davidorff Pell
- Re: [Fink-devel] Prebinding David
- Re: [Fink-devel] Prebinding Carsten Klapp
- Re: [Fink-devel] Prebinding John Davidorff Pell
- Re: [Fink-devel] Prebinding Carsten Klapp
- Re: [Fink-devel] Prebinding John Davidorff Pell
- Re: [Fink-devel] Prebinding Ben Hines
- Re: [Fink-devel] Prebinding David
- Re: [Fink-devel] Prebinding Carsten
- Re: [Fink-devel] Prebinding Benjamin Reed
- Re: [Fink-devel] Prebinding Mr. Kiwi