User forums > General (but related to Code::Blocks)
New compiler options?
oBFusCATed:
Example options, that must be duplicated?
MortenMacFly:
--- Quote from: oBFusCATed on June 14, 2012, 12:11:52 pm ---Example options, that must be duplicated?
--- End quote ---
Huh? that would really be strange. Use case? What compiler are you talking about? And in the end you always have the "other options" for this purpose.
Randajad:
Every options, when using -flto, because the linker generates code.
P.S. MortenMacFly, in the end i have notepad and console!
oBFusCATed:
--- Quote from: Randajad on June 23, 2012, 09:53:39 am ---Every options, when using -flto, because the linker generates code.
--- End quote ---
Example build log and a quote from the help please?
I doubt you have to duplicate the define options or the warning options.
xunxun:
There are many gcc options (tens of thousands), so no need to add all of them.
If you want to ask why not to add -flto, other one will ask why not to add -fwhole-program, -fuse-linker-plugin, -flto[n], -flto-compression-level=, -flto-report, -ffat-lto-objects or other many similar options.
And I think -s position in CB is wrong, "-Wl,-s" is a linker option, not a compiler option.
Navigation
[0] Message Index
[*] Previous page
Go to full version