On 12 Apr 2008, at 05:26, Jean-François Mertens wrote: > > 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 ...
Forgot to say: for suitesparse, you use only one compiler ("gcc"), if I remember correctly; so simplest is to link (as you were doing) using "gcc" as linker, and not to go back to ld (and hence have to add files on the link line that gcc (as linker) would anyway add..). So there was no suggestion above to try to imitate those aspects in alas.info) JF ------------------------------------------------------------------------- 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