You’ll need to compile GCC from sources, but that’s not a problem.Depending on the speed of your machine, you can have the latest GCC up and running in as little as 15 minutes.If you’re following this guide at a later date, there will surely be a more recent version of GCC available.
If your machine is located behind a proxy server, make sure to check “Use Internet Explorer Proxy Settings” when you get to the “Select Your Internet Connection” step.
When you reach the “Select Packages” step (shown below), don’t bother selecting any packages yet. We’ll add additional packages from the command line later.
This feature is, however, available in the latest versions of GCC and Clang.
The following guide will help you install the latest GCC on Windows, so you can experiment with generic lambdas and other cutting-edge C features.
If your machine’s CPU has at least four hardware threads, this option makes the build process run significantly faster.
The main downside is that it jumbles the output messages generated during the build process.You might like to break these out into a separate file if you end up with heaps of them, but I’ve only got a few for now.Open up your .bash_profile and add the following things: [Update 2] There’s a terminal command open in OSX that is quite nice, it essentially does a shell execute on whatever you pass it.The steps are: First, download and run either the 32- or 64-bit version of the Cygwin installer, depending on your version of Windows.Cygwin’s setup wizard will walk you through a series of steps.Cygwin has something similar called cygstart, but that’s not a nice name.