----- Original Message ----- 
From: "Kai Tietz" <[email protected]>
To: <[email protected]>
Sent: Tuesday, June 26, 2012 11:03 PM
Subject: Re: [Mingw-w64-public] dll files in mingw/lib 
andx86_64-w64-mingw32\lib


> Hello Rob,
>
> 2012/6/26 Sisyphus <[email protected]>:
>> Hi,
>>
>> When we unzip the mingw-w64-bin_i686-mingw_YYYYMMDD.zip cross-compilers 
>> we
>> find a number of dll files (including libgcc_s_sjlj-1.dll and
>> libstdc++-6.dll) in mingw/lib and x86_64-w64-mingw32/lib, but not in the
>> 'bin' folder.
>>
>> Are we supposed to :
>> a) copy those dll's to the 'bin' folder ?
>> or
>> b) add one/both of those lib folders to the path ?
>
> For cross-compiler they are placed in target's bin folder (mingw
> folder is normally just a symbolic link to the target-triplet-folder).
> For native toolchains the .dll files are copied into bin folder,
> which is for none-multilib setup ok.
> To copy for cross-compiler into corresponding lib-folder instead of
> bin-folder is caused by multilib-setup.  As here .dll files need
> different location for not overwriting each other.
>
> Variant b) is the proper one.
>
>> Why are they not already in the 'bin' folder ?
>
> See description about multilib-scenario and dll-file-name collision.
>
>> Cheers,
>> Rob
>
> Regards,
> Kai

Thanks for explaining, Kai.

Cheers,
Rob 


------------------------------------------------------------------------------
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