On 12 Apr 2008, at 05:05, Ben Abbott wrote:
> With regards to "--all" ... do you mean that all the .o files included
> in the static lib are not to be included in the dylib? ... or
> something else?

"-all_load"  is a flag you can add to a link command, and that will
cause ALL .a archives in the final link line sent to ld to be fully
loaded, rather than just scanned for missing symbols,  and loading
the corresponding code.  The drawback is that it's effect cannot be  
stopped,
so applies even to whatever '.a' file may be added by the "compiler"
(aka, ld interface) to the link command

But all the .o files in your static lib should be included in your  
dylib, right !
The above was just to tell you to keep, as you are doing now, extracting
explicitly the .o files from the archives, and linking those into a  
dylib,
rather than using the unsafe shortcut in atlas.info..

Jean-Francois

PS: But you should look at `man ld` before embarking on such a thing ...
  

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to