News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

about Option's suggestion!

Started by gonboy, August 22, 2012, 09:14:20 AM

Previous topic - Next topic

gonboy

I use the Option,
the parameters I should input by myself.
Maybe it like the Compiler's Parameters, will be useful. You can select it, You needn't to remeber it.

ollydbg

Which "option"?
Can you be more specific?
I can't understand your problem, sorry.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

gonboy

I mean Compiler Settings->Linker Settings maybe add the "linker flags" like Compiler Settings->Compiler Flags

ollydbg

Quote from: gonboy on September 04, 2012, 05:07:38 AM
I mean Compiler Settings->Linker Settings maybe add the "linker flags" like Compiler Settings->Compiler Flags
which kind of linker flags do you think need an check box like those in "compiler flags"?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

gonboy

#4
Yes.(Sorry,my englist is so poor)
the "Linker Settings" should be like "Compiler Settings",include Compiler Flags and Other options!
and the Other Options (Compiler and Linker) maybe like "Compiler Options"(include CheckBox)
But different is that Other Options you can change it one bye one by yourself.the Compiler Flags couldn't change,that's default.
like belown
=====================================================other options
□High Speed[-O1]
□Small Size[-O2]

Button
------    -----    ----
|Add |   |Edit|   |Del|
------    -----    ----

ADD->
Line1: Categories (like Compiler Flags.if don't input,that's "Default")(eg. Options)
Line2: the option's information(.eg. Small Size)
Line3: the option parameter(.eg. -O2 )
=======================================================




Alpha

Actually, the checkboxes under Compiler Flags do send flags to the linker as well.  If you want to be able to add/edit these, try the XML compiler branch.  There are no precompiled binaries available for it yet, so you would have to retrieve the source by:
svn checkout svn://svn.berlios.de/codeblocks/branches/xml_compiler
and build it yourself.

gonboy

That's seems, so good!
I checkout and try it!