Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7527565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:08:19+00:00 2026-05-30T04:08:19+00:00

Today I updated MinGW and rebuilt my current C++-project. I’ve logged timing-info since using

  • 0

Today I updated MinGW and rebuilt my current C++-project. I’ve logged timing-info since using 4.5.0 and I see a huge performance loss (about 4 times slower) when compiling with version 4.6.2.

My build-command:

g++ -Ilib\svl-1.5\include -Ilib\SDL-1.2.15\include -static-libgcc -static-libstdc++ \
-Ofast -O3 -oecl.exe src\ecl.cpp -lmingw32 -lSDLmain -lSDL -std=c++0x

I’m running MinGW on a Window 64 bit system.

Do you have any idea what causes that bad performance?

My bin-folder contains a file called mingw32-gcc-4.5.0. The MinGW 4.6 release notes page says that it can be used to compile with older versions. Unfortunately there is no such binary for g++. I read that gcc is also able to compile C++, but it doesn’t work in my case, I just get tons of errors. I only found the hint to use g++ on sites where people asked how to compile C++ programs using gcc.

Is there a way to get my C++ program compiled using mingw32-gcc-4.5.0? If not, is there another way to compile using version 4.5.0?
I want to ensure that the bad performance isn’t caused by changes in my code.

Edit

I managed to install 4.5.0 again by running my old MinGW-installer downloaded in 2010. I reverted my code and build-batch file to the state of yesterday. Still bad performance. Is MinGW installing DLLs or other related files outside of its installation directory?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T04:08:20+00:00Added an answer on May 30, 2026 at 4:08 am

    Rebooting was the solution. It works again with both versions, 4.5.0 and 4.6.2. Now the binaray compiled with 4.6.2 performs even better.

    The performance of my program has always been stable before updating MinGW, therefore I didn’t came to the idea that it was a problem with my system.

    But that’s how our minds work: If two related things happen at the same time we think the first thing causes the second one. Illusionists are exploiting that fact 😛

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using eclipse to develop a web application. Just today I have updated
I'm using Eclipse 3.6.2 on Win7 (64). Today I updated my Java 6 (JRE
I'm on Eclipse (Helios) using GAE SDK 1.5.2, etc. (Just updated everything, today.) In
Today I updated my ADT and SDK Tools to v17 and my projects using
I'm using Subversive plugin in Ganymede, but after today's update it stopped working -
Today, I ran into this weird problem with a user using Mac OS X.
Having updated Passenger and Ruby Enterprise Edition to the latest versions today, I am
Greetings, today before I start working on my application I updated my WinXP. After
Since today I am facing a tricky issue with Google Chrome that I've just
I got an interesting time-travel problem today, using the following code: for (int i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.