Mathieu Bouchard wrote: > On Tue, 16 Oct 2007, IOhannes m zmoelnig wrote: >> we don't provide linux binaries because of dependency issues. >> (chances are low that my binary will work on your machine) > > This is something that gets fixed using static linking, no? But perhaps > making correct static linking while building a shared library is not so > easy, compared to making a standalone app. > > A few years ago, I had written this line, in order to compile with > libruby.a and still produce a .so : > > lib = "-Wl,--whole-archive"+lib+"-Wl,--no-whole-archive" unless OSX
this should look like "-Wl,--whole-archive -lmpeg3 -ljpeg -ltiff -Wl,--no-whole-archive" instead of "-lmpeg3 -ljpeg -ltiff". correct? if so, it doesn't do anything meaningful here... mfg.asrd IOhannes > > You give those options to GCC, but the "-Wl," means "delegate the > following option directly to LD" > > Have you ever tried that? > > _ _ __ ___ _____ ________ _____________ _____________________ ... > | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
