Re: [Mingw-w64-public] What to Download?

2014-01-24 Thread lh_mouse
Pros of static linking: 1. You do not have dependencies on DLLs that are statically linked; 2. It produces a smaller *package*. For example when there are two functions named foo() and bar() in the lib and you use only foo(), the linker will strip bar(). If you do a dynamic linking you'll have

[Mingw-w64-public] What to Download?

2014-01-20 Thread John Duffy
Hi This is probably a very very stupid series of questions, so apologies in advance, but having poured over the website on numerous occasions, I still can't figure out what exactly I need to download to use MinGW-64. (I'm actually successfully building command line programs and dll's for 64

Re: [Mingw-w64-public] What to Download?

2014-01-20 Thread Alexpux
20 янв. 2014 г., в 16:31, John Duffy jb_du...@btinternet.com написал(а): Hi This is probably a very very stupid series of questions, so apologies in advance, but having poured over the website on numerous occasions, I still can't figure out what exactly I need to download to use

Re: [Mingw-w64-public] What to Download?

2014-01-20 Thread lh_mouse
--- 发件人:John Duffy jb_du...@btinternet.com 发送时间:2014-01-20 20:31 主题:[Mingw-w64-public] What to Download? 收件人:mingw-w64-public@lists.sourceforge.netmingw-w64-public@lists.sourceforge.net 抄送: Hi This is probably a very very stupid series of questions, so apologies

Re: [Mingw-w64-public] What to Download?

2014-01-20 Thread niXman
lh_mouse 2014-01-20 16:58: Additional: Personally I do not suggest you use mingw32 to cross-compile x64 programs. It compiles but does not run unless you specify -static due to lack of x64 DLLs. in mingw32-SjLj, 64-bit DLLs are placed in 'mingw32/i686-w64-mingw32/lib64'

Re: [Mingw-w64-public] What to Download?

2014-01-20 Thread Baruch Burstein
On Mon, Jan 20, 2014 at 2:58 PM, lh_mouse lh_mo...@126.com wrote: MinGW uses MSVCRT.DLL which shipps with Windows XP so there is no additional CRT DLL needed to redistribute. If MinGW64-compiled executables use MSVCRT.DLL as a runtime, then what do they use libgcc.dll for? Isn't it also just

Re: [Mingw-w64-public] What to Download?

2014-01-20 Thread niXman
Baruch Burstein 2014-01-20 17:58: Is there an option to statically link the libgcc/libstdc++-6, so as not to have to distribute the .dll? Yes, '-static' -- Regards, niXman ___ Dual-target(32 64-bit) MinGW-W64 compilers for 32 and 64-bit

Re: [Mingw-w64-public] What to Download?

2014-01-20 Thread Ruben Van Boxem
2014/1/20 Baruch Burstein bmburst...@gmail.com On Mon, Jan 20, 2014 at 2:58 PM, lh_mouse lh_mo...@126.com wrote: MinGW uses MSVCRT.DLL which shipps with Windows XP so there is no additional CRT DLL needed to redistribute. If MinGW64-compiled executables use MSVCRT.DLL as a runtime, then