On Wed, Jun 29, 2011 at 1:04 PM, Jenny Turner <[email protected]> wrote: > Greetings > I have downloaded mingw64 binaries for Windows7 to compile for 64b machines > functions. I have placed the folder in c:\mingw-w64 and I tried to compile > an Hello World (in C++) but I get this error: > gcc: Create process: No such file or directory. > My steps were: > 1- Launch windows cmd.exe > 2- enter into c:\mingw-w64\bin and run > x86_64-w64-mingw32-g++ d:\tests\HelloWorld\hello.cc -o d:\hello.exe > ANd it compiled ok but when I try to run hello.exe I get this error: > "The rprogram can't start because libgcc_s_sjsj-1.dll is missing from your > computer. Try reinstalling the program to fix this problem > My questions are: > 1- What can I do to fix this? Or am I doing something wrong?
Well, gcc's exception handler library is not on the PATH or in the same directory as the exe. Just copy the libgcc_s_sjsj-1.dll to the same place as the exe. (the dll should be in one of the directories of your toolchain.) > 2- This g++ version that I'm using is a 64b built? I mean, since it has in > its name mingw32 I'm wondering if this is 64? Yes, the x86_64-.... prefix strongly implies that it is. To be 100% sure, type "x86_64-w64-mingw32-g++ -v" and read the output. > Thanks > Jenny -- O.S. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
