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

  • SEARCH
  • Home
  • 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 775939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T19:22:16+00:00 2026-05-14T19:22:16+00:00

I used code:blocks as the C++ IDE on Windows. I switched to netbeans 6.8

  • 0

I used code:blocks as the C++ IDE on Windows. I switched to netbeans 6.8 (with C/C++ plugin, MinGW, MSYS) recently, because netbeas have the nice feature of “checking syntax errors when typing” (same as working on Java or PHP projects).

But the painful thing is that, it takes 2 seconds to compile a simple hello world project in netbeans. Any trick to make it as fast as code:blocks, or at least make the compiling time no more than 0.5 second?

EDIT:
I did not care about this 2 seconds difference until I worked on Google codejam questions yesterday.

  • 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-14T19:22:17+00:00Added an answer on May 14, 2026 at 7:22 pm

    MinGW uses G++ 3.x, which is very very old. It’s a limitation of the compiler itself — old versions of G++ are simply slow. There are some “unofficial” G++ ports to windows that borrow from the MinGW project that use more recent (4.x) versions of G++, and it’s possible your Code::Blocks IDE was using one of those.

    I seriously doubt that the second and a half is significant in 99.9% of usages of most compilers anyway. Even if it is overhead imposed by the IDE itself, we’re talking about what is essentially a one time cost — it shouldn’t blow up to insane compile times when you compile larger programs.


    In response to FredOverflow’s comment: From the MinGW installer (mingw.ini):

    [mingw]
    Build=12
    URL=http://prdownloads.sourceforge.net/mingw
    Filename=MinGW-5.1.6.exe
    packages=previous|current|candidate
    
    [current]
    runtime=mingwrt-3.17-mingw32-dev.tar.gz|7300
    runtimeDLL=mingwrt-3.17-mingw32-dll.tar.gz|30
    w32api=w32api-3.14-mingw32-dev.tar.gz|14460
    binutils=binutils-2.20-1-mingw32-bin.tar.gz|26979
    core=gcc-core-3.4.5-20060117-3.tar.gz|7712
    gpp=gcc-g++-3.4.5-20060117-3.tar.gz|15480
    g77=gcc-g77-3.4.5-20060117-3.tar.gz|5272
    ada=gcc-ada-3.4.5-20060117-3.tar.gz|33860
    java=gcc-java-3.4.5-20060117-3.tar.gz|43160
    objc=gcc-objc-3.4.5-20060117-3.tar.gz|3720
    make=make-3.81-20090914-mingw32-bin.tar.gz|723
    
    [previous]
    runtime=mingwrt-3.15.2-mingw32-dev.tar.gz|7616
    runtimeDLL=mingwrt-3.15.2-mingw32-dll.tar.gz|40
    w32api=w32api-3.13-mingw32-dev.tar.gz|14420
    binutils=binutils-2.19.1-mingw32-bin.tar.gz|21093
    core=gcc-core-3.4.2-20040916-1.tar.gz|8627
    gpp=gcc-g++-3.4.2-20040916-1.tar.gz|16542
    g77=gcc-g77-3.4.2-20040916-1.tar.gz|5158
    ada=gcc-ada-3.4.2-20040916-1.tar.gz|33333
    java=gcc-java-3.4.2-20040916-1.tar.gz|45547
    objc=gcc-objc-3.4.2-20040916-1.tar.gz|4555
    make=mingw32-make-3.81-20080326-2.tar.gz|727
    
    [candidate]
    binutils=binutils-2.18.50-20080109-2.tar.gz|20505
    core=gcc-core-3.4.5-20060117-3.tar.gz|7712
    gpp=gcc-g++-3.4.5-20060117-3.tar.gz|15480
    g77=gcc-g77-3.4.5-20060117-3.tar.gz|5272
    ada=gcc-ada-3.4.5-20060117-3.tar.gz|33860
    java=gcc-java-3.4.5-20060117-3.tar.gz|43160
    objc=gcc-objc-3.4.5-20060117-3.tar.gz|3720
    make=mingw32-make-3.81-2.tar.gz|720
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What libraries and/or packages have you used to create blog posts with code blocks?
Is the latest binary release of Code::Blocks with MinGW setup compatible with Windows 7?
I have a block of JSP code that needs to be used in several
I've seen (and used) code to have a link spawn a javascript action many
Which programming language(s) were used to code Windows Vista?
In our code we used to have something like this: *(controller->bigstruct) = ( struct
Info - for better formatting, I used code-formatting throughout the whole posting. Hi, I
I used the code below to compress files and they keep growing instead of
As per my understanding stateless session beans are used to code the business logic.
I'm currently refactoring/tidying up some old C code used in a C++ project, and

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.