Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: massimo.manca on December 05, 2010, 03:42:26 am

Title: Compiling/linking without C standard libraries
Post by: massimo.manca on December 05, 2010, 03:42:26 am
I need to compile an application without linking with C standard libraries. I am using GCC/Mingw. Is there any setting that may help me on Code::Blocks IDE?
Title: Re: Compiling/linking without C standard libraries
Post by: polygon7 on December 05, 2010, 10:22:33 am
I need to compile an application without linking with C standard libraries. I am using GCC/Mingw. Is there any setting that may help me on Code::Blocks IDE?

Right-click on project name in "Management->Projects" tree, choose "Build options", click on project name and choose your settings in "Compiler settings" tab and "Linker settings" tab.
If you want global settings for compiler / linker then do the same in menu "Settings -> compiler and debugger".