|
From: Samuel H. <sam...@gm...> - 2013-08-25 18:16:46
|
And the .o files are before the library includes (that's what I get for trying to do it from memory!) -- Sam On 25 Aug 2013, at 18:23, Sam Halliday <sam...@gm...> wrote: > Sorry, DLL not SO > > Kind regards, > Sam Halliday > > -- > Sent from my iPhone > > On 25 Aug 2013, at 18:17, Sam Halliday <sam...@gm...> wrote: > >> The full parameter list is a bit verbose. Btw, I'm building a shared lib: >> >> gcc -o mylib.so -shared -static-libgfortran -lgfortran ... .o files ... >> >> Results in a dynamic reference. >> >>> g -o foo.exe foo.o -static -static-libfortran >> >> Kind regards, >> Sam Halliday >> >> -- >> Sent from my iPhone >> >> On 25 Aug 2013, at 15:51, Earnie Boyd <ea...@us...> wrote: >> >>> On Fri, Aug 23, 2013 at 8:06 PM, Samuel Halliday <sam...@gm...> wrote: >>>> -static-libgfortran before -lgfortran >>>> >>>> makes no difference... still gives the dynamically linked libgfortran :-( >>> >>> You still haven't given your full command line. >>> >>> gfortran -o foo.exe foo.o -static -static-libfortran >>> >>> -- >>> Earnie >>> -- https://sites.google.com/site/earnieboyd >>> >>> ------------------------------------------------------------------------------ >>> Introducing Performance Central, a new site from SourceForge and >>> AppDynamics. Performance Central is your source for news, insights, >>> analysis and resources for efficient Application Performance Management. >>> Visit us today! >>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> MinGW-users mailing list >>> Min...@li... >>> >>> This list observes the Etiquette found at >>> http://www.mingw.org/Mailing_Lists. >>> We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. >>> >>> _______________________________________________ >>> You may change your MinGW Account Options or unsubscribe at: >>> https://lists.sourceforge.net/lists/listinfo/mingw-users >>> Also: mailto:min...@li...?subject=unsubscribe |