Windows GDC and libgcc_s_sjlj-1.dll

Daniel Green venix1 at gmail.com
Thu Jul 21 15:55:40 PDT 2011


On 7/21/2011 6:52 PM, Daniel Green wrote:
> On 7/21/2011 6:44 AM, Kagamin wrote:
>> Andre Tampubolon Wrote:
>>
>>> I just tried GDC on Windows, and I found out that the executables
>>> created are linked into libgcc_s_sjlj-1.dll. Will it be possible to get
>>> rid of the dependency on this DLL?
>>
>> Yes, there's a static version of libgcc, you should play with ld a bit.
> GCC has a command line option -static. That should remove the dependency.
Sorry, -static-libgcc is the option.

http://gcc.gnu.org/onlinedocs/gcc-4.5.3/gcc/Link-Options.html#Link-Options


More information about the Digitalmars-d mailing list