Using CodeBlocks for C (in CSC173)

George Ferguson

Last update: Summer 2021

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License
Image

This document was written for CodeBlocks “17.12_OSX64” and very minimally tested on macOS 11.5.1 Big Sur. In fact, CodeBlocks doesn’t work very well on macOS, but I can say a couple of things about setting the compiler options as required for CSC173.

After creating your “Console Application” using C...

To set the compiler options:

To change the name of the executable (default is the same as the project name):