Author Topic: Help passing a compiler flag to the compiler?  (Read 3567 times)

Offline Zingam

  • Multiple posting newcomer
  • *
  • Posts: 74
Help passing a compiler flag to the compiler?
« on: March 26, 2006, 02:19:05 pm »
How do I pass the following flag to the compiler -Lco ?

Is it possible somehow, when I select the compiler option -g (generate debug info) -Lco to be automatically added too?
« Last Edit: March 26, 2006, 02:22:26 pm by Zingam »

ivo

  • Guest
Re: Help passing a compiler flag to the compiler?
« Reply #1 on: March 26, 2006, 03:31:22 pm »
go to: compiler & debugger settings ->compiler->other options

OR

Project->Build options->compiler->other options

Offline Zingam

  • Multiple posting newcomer
  • *
  • Posts: 74
Re: Help passing a compiler flag to the compiler?
« Reply #2 on: March 26, 2006, 03:37:42 pm »
It doesn't work.

There is no effect and no error messages are issued. I'm talking about the DMD compiler here.

There is another option to pass the /CO flag to the linker directly but it reports that there is no file \CO.d so it does not accept it as a flag but rather as a file name.
« Last Edit: March 26, 2006, 03:39:44 pm by Zingam »