|
From: Luis L. <lui...@gm...> - 2012-08-06 16:01:33
|
On Mon, Aug 6, 2012 at 12:11 PM, mingw124 <for...@li...> wrote: > >>no. >>'gcc obj1.o obj2.o -lsome -static -oexename' > > > Yes but I mean if the dll was named "libgcc_s_dw2-1.dll" for example, would > I then name it the same in the static call '-static -gcc_s_dw2-1' ? Please read the ld documentation on what -static does It gives priority to static version of the libraries over the dynamic ones. When used -static it will link to the static version of libgcc, if available in your installation. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry |