Author Topic: about Option's suggestion!  (Read 7379 times)

Offline gonboy

  • Multiple posting newcomer
  • *
  • Posts: 29
about Option's suggestion!
« on: August 22, 2012, 09:14:20 am »
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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: about Option's suggestion!
« Reply #1 on: August 22, 2012, 11:32:19 am »
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.

Offline gonboy

  • Multiple posting newcomer
  • *
  • Posts: 29
Re: about Option's suggestion!
« Reply #2 on: September 04, 2012, 05:07:38 am »
I mean Compiler Settings->Linker Settings maybe add the "linker flags" like Compiler Settings->Compiler Flags

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: about Option's suggestion!
« Reply #3 on: September 04, 2012, 06:32:54 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.

Offline gonboy

  • Multiple posting newcomer
  • *
  • Posts: 29
Re: about Option's suggestion!
« Reply #4 on: September 06, 2012, 04:36:10 am »
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 )
=======================================================



« Last Edit: September 06, 2012, 04:42:01 am by gonboy »

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: about Option's suggestion!
« Reply #5 on: September 06, 2012, 05:05:02 am »
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.

Offline gonboy

  • Multiple posting newcomer
  • *
  • Posts: 29
Re: about Option's suggestion!
« Reply #6 on: September 06, 2012, 09:05:43 am »
That's seems, so good!
I checkout and try it!