2013/8/27 joaquim: > the -static needs the DLL file name? no. g++ main.cpp source1.cpp -omain -static -- Regards, niXman ___________________________________________________ Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit Windows: http://sourceforge.net/projects/mingwbuilds/ ___________________________________________________ Another online IDE: http://liveworkspace.org/