User forums > Using Code::Blocks
Compilation errors
thomas:
--- Quote from: ac506in on August 01, 2006, 02:14:29 pm ---Is there any good tutorial to start with gcc compiler....
I search wiki and google , but didnt found any good one..
--- End quote ---
Here is a mini-tutorial:
(1) Start using gcc with the default settings. You will be surprised, it really works.
(2) Read http://gcc.gnu.org/onlinedocs/ before changing any settings.
(3) Look up what -O2, -g, and -s do first, then you'll know 95% of what you'll ever need.
(4) Never touch a setting if you don't know what it does ("--pedantic").
(5) If in doubt, refer to (4).
(5) If something goes weird, try default options.
sethjackson:
--- Quote from: thomas on August 01, 2006, 03:11:32 pm ---
--- Quote from: ac506in on August 01, 2006, 02:14:29 pm ---Is there any good tutorial to start with gcc compiler....
I search wiki and google , but didnt found any good one..
--- End quote ---
Here is a mini-tutorial:
(1) Start using gcc with the default settings. You will be surprised, it really works.
(2) Read http://gcc.gnu.org/onlinedocs/ before changing any settings.
(3) Look up what -O2, -g, and -s do first, then you'll know 95% of what you'll ever need.
(4) Never touch a setting if you don't know what it does ("--pedantic").
(5) If in doubt, refer to (4).
(5) If something goes weird, try default options.
--- End quote ---
Yeah it is very hard (I would say impossible) to compile wxWidgest programs with the --pedantic switch (okay okay I only tried it once. After that I learnt my lesson....).
kagerato:
--- Quote from: sethjackson on August 01, 2006, 06:15:20 pm ---Yeah it is very hard (I would say impossible) to compile wxWidgest programs with the --pedantic switch (okay okay I only tried it once. After that I learnt my lesson....).
--- End quote ---
"Characterized by a narrow, often ostentatious concern for book learning and formal rules". I'd say that fits quite well.
sethjackson:
--- Quote from: kagerato on August 02, 2006, 01:28:57 am ---
--- Quote from: sethjackson on August 01, 2006, 06:15:20 pm ---Yeah it is very hard (I would say impossible) to compile wxWidgest programs with the --pedantic switch (okay okay I only tried it once. After that I learnt my lesson....).
--- End quote ---
"Characterized by a narrow, often ostentatious concern for book learning and formal rules". I'd say that fits quite well.
--- End quote ---
Hmm I don't get it? :?
kagerato:
--- Quote from: sethjackson on August 02, 2006, 02:18:58 am ---Hmm I don't get it? :?
--- End quote ---
Oh, it's merely the dictionary definition of "pedantic". It's an odd word, even for English. :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version