-
Notifications
You must be signed in to change notification settings - Fork 0
GCC Introduction
mottosso edited this page Dec 31, 2014
·
6 revisions
In this guide I will walk you through the installation and compilation of your first program using GCC. I will first walk you through the installation of Ubuntu 12.04 on a virtual machine, just so we're all on the same page, and then move onto writing and compiling a program that prints "Hello, World!" to your terminal and then exits.
This guide applies to.
- Windows
- Linux
- OSX
So, if you're ready to rumble, let's go!
Compiling your first Hello World
program.
Table of contents
- Home
- Prerequisites
- Basic workflow
- Coding Style
- Binary Compatibility
-
Which compiler should I use?
- Windows users
- Unix / Linux users
- Mac OSX
- Writing the code
- Compiling the code
- Running the code
- Problems?
-
Getting setup with GCC
- Introduction
- Environment
- [[Writing Code|GCC Writing
hello world
]] - Compilation
- Getting setup with GCC
- Getting setup with Clang
-
Getting setup with MinGW
- Introduction
- Installation
- [[Writing Code|MinGW Writing
hello world
]] - Compilation
- Issues
-
Getting setup with VS
- Introduction
- Environment
- Installation
- [[Writing Code|VS Writing
hello world
]] - Compilation
- Getting setup with CodeBlocks
-
Getting setup with QtCreator
- Introduction
- Installation
- [[Writing Code|QtCreator Writing
hello world
]] - Compilation
- Issues