2012/5/21 xunxun <[email protected]>

> Add -static to your linker option


Yes, this: "-static" when you link the installer executable will pull in
static libraries if available, and my toolchains have everything in DLL and
static library form.

Ruben


>
> On Mon, May 21, 2012 at 9:30 PM, MARTIN Pierre <[email protected]>wrote:
>
>> Dear list readers,
>>
>> i have a question relative to the MinGW-w64 runtimes (Correct
>> me if i'm wrong: libgcc_s_sjlj-1.dll and libstdc++-6.dll).
>> All my projects are fine with the dynamic version of the runtimes.
>> But one of my project (In fact an installer) would require a static
>> version of those DLLs, so only one single file could be distributed
>> to end-users.
>>
>> As some of you might remember, i'm using Ruben's build, so i
>> would like to know if there is anything i could do (Specifically
>> for this user build, or in general) to:
>> - Get a static version of the runtimes,
>> - Link and compile against it.
>>
>> Thank you for your help,
>> Pierre.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Mingw-w64-public mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>
>
>
>
> --
> Best Regards,
> xunxun
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to