Op 17 aug. 2012 01:44 schreef "Herb Thompson" <[email protected]> het
volgende:
>
> On 2012-08-16 3:32 PM, Ruben Van Boxem wrote:
> > Hi everyone,
> >
> > ...
> >
> > I am in the process of uploading 4.7.1-2-release packages. I tested the
> > i686-win32 compiler, and it doesn't crash.
>  >
> >  ...
>
>
>
> On my Win 7 system, the c++.exe in
>
"i686-w64-mingw32-gcc-4.7.1-2-release-win64_rubenvb\mingw32\i686-w64-mingw32\bin"
> fails as follows:
>  >c++ hello.cpp -static -s
> c++: error: CreateProcess: No such file or directory
>
> Adding "i686-w64-mingw32-gcc-4.7.1-2-release-win64_rubenvb\mingw32\bin"
> to the PATH does not help, but running the i686-w64-mingw32-c++.exe in
> "i686-w64-mingw32-gcc-4.7.1-2-release-win64_rubenvb\mingw32\bin" does
work.
>

You should call only the executables in mingw32/bin, never directly use the
ones in mingw32/i686-w64-mingw32/bin. The simplest way to set up a build
environment is to doubleclick on "mingw32env.cmd". Note that GCC's C++
compiler is called "g++" (I'm not entirely sure what the "c++" executable
is or does), and also note that the i686-...win32 package has non-prefixed
executables so you don't have to type the "i686-w64-mingw32-" prefix all
the time.

Cheers,

Ruben

>
> Regards,
> Herb Thompson
>
>
------------------------------------------------------------------------------
> 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
------------------------------------------------------------------------------
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