Author Topic: how is compiler options stored  (Read 3889 times)

Offline hckr83

  • Multiple posting newcomer
  • *
  • Posts: 38
how is compiler options stored
« on: October 23, 2005, 08:44:27 pm »
I am wondering how compiler and command line options are stored, if they are stored in a file then could someone please upload the default one as i really don't want to reinstall codeblocks but i want to have a way to return to the way it was(i have configured some things and i think i messed up) if they are in registry keys or some other method then i will just reinstall

btw i like that spell check feature in this forum

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: how is compiler options stored
« Reply #1 on: October 23, 2005, 08:49:25 pm »
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline hckr83

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: how is compiler options stored
« Reply #2 on: October 23, 2005, 08:58:29 pm »
ok thanks

btw
is there a way to make mingw compile to non-pe as i need to link to flat binary

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: how is compiler options stored
« Reply #3 on: October 23, 2005, 09:02:07 pm »
objcopy -O binary


EDIT:
Oh, and you might find -nostartfiles-nostdlib,  or -nodefaultlibs helpful if you do that kind ob obscure stuff (I better not ask what you want to have a raw executable for!)
« Last Edit: October 23, 2005, 09:04:52 pm by thomas »
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."