Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: jinxin16897123 on September 03, 2013, 10:32:20 am

Title: Compiler Flags setting?
Post by: jinxin16897123 on September 03, 2013, 10:32:20 am
In the Compiler Flags, -mcpu=NAME, -march=NAME, -mfpu=NAME, if these options have been checked. How should I setting the name of it ?
ie, -march = arm920t.
Thank you very much.
Title: Re: Compiler Flags setting?
Post by: blauzahn on September 03, 2013, 08:19:38 pm
If your specific name is not mentioned, you can always enter additional options manually (see tab "other options").
Title: Re: Compiler Flags setting?
Post by: jinxin16897123 on September 04, 2013, 03:51:51 am
The other options did solve the problem, but what's the check flags doing for? It seemed that these checkbox make nonsense.
Title: Re: Compiler Flags setting?
Post by: scarphin on September 04, 2013, 09:31:39 am
They both do the same thing. If there isn't a 'compiler flag' available, then 'other options' is used.