From: Sisyphus <sis...@op...> - 2012-06-27 01:31:10
|
----- Original Message ----- From: "Kai Tietz" <kti...@go...> To: <min...@li...> 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 <sis...@op...>: >> 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 |