I REALLY wish the IDE had config options for specifying compile, link and AVRDUDE flags instead of having them all hard coded.
I may work on the IDE to add those features and then post the code......
mpide and Pauls latest Teensy version of the IDE for his Teensy 3.0 support this.
But they support it through boards.txt or other configuration files
rather than some way from the IDE itself.
Not sure what is happening to the official toolset for DUE support.
(Will it be a separate IDE or a combined like mpide or Paul's IDE? still no word on this).
If it is a combined IDE, then it might be possible to play with some of the flags.
Another down and dirty way to set some flags is write some small wrapper scripts
that set/modify the commmandline options and then call the real command.
Well, my idea was to extent "preferences.txt" by adding entries to it, adding corresponding menu items to the GUI and finally support code in the Editor and Compiler classes.
Rather than cryptic options like "-Wl,-u,vfprintf -lprintf_flt -lm", the menu would, for example, say something like "[ # ] Enable floating point? (approx. 1500 bytes larger code)" and then supply the proper options based on the boolean "yes" or "no".
There would also be an "advanced" option where various configs could be added manually so that all in all there would be NO limitations on what a user could do.
It's obvious to me that the IDE was written to support "noobs" and present them limited options (i.e. limited ways to screw up their system), but advanced options SHOULD be available to those who want them.
As far as modifying the command line idea... I tried that. I renamed the AVR-GCC file, then made a little shell script to call the compiler with added command line options. It didn't work (don't know if I screwed up or if it just can't work)... but then your idea of "fixing" libc.a solved the whole problem, so the project dropped off my radar screen.
Oh well... thanks again for all your help!
(btw, you said you had other patches and ideas.. I would LOVE to know what they are).