Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


#86 Mingw - installation on Win 64 bit

v1.0 (example)
Nancy Palmquist

I downloaded mingw-get-setup.exe and installed the basic compiler yesterday. I thought it indicated that it was for Win7 32 or 64 bit. I did not see an issues with the installation on my Windows 7 Ultimate System.

When I executed the command: gcc -o civp.exe civp.c -L./ -lusps4cb -m64
I get the following message:
civp.c:1:0: sorry, unimplemented: 64-bit mode not compiled in

This is to compile the USPS intelligent Mail Barcode Encoding software and USPS provided all the programs, I just need to compile it for my platform and I can move on.

So I hunted around and found the mingw-w64-v2.0.8.tar.gz that downloaded on the
page and extracted to a temp folder. But I have no idea how to install this version farther than that. Actually the filenames and docs look more like they should work on Linux then Windows. This page said much more specifically that it was for Win64 bit so I thought maybe my first choice was wrong.

I am not familiar with these procedures and if someone could point me in the right direction, I can get this little c++ file compiled and move on.

Thank you for the help.


  • Jonathan Yong
    Jonathan Yong

    mingw-get-setup.exe is from mingw.org, which is a separate project to mingw-w64. It downloads gcc for 32bit target, so does not have 64bit target support, the -m64 error expected.

  • Ok so I need to uninstall that version. But how do I find a version that will install on Windows 7 Ultimate 64 bit system.

  • Jonathan Yong
    Jonathan Yong

    The SF browser isn't the best place to start, we don't have control over what is "recommended" to our users. Start at http://mingw-w64.sourceforge.net/download.php instead, pick one and stick to it.

    Note that automated builds are meant for regression testing, see the mingw-builds for something more user-centric.