Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Zingam on March 26, 2006, 02:19:05 pm

Title: Help passing a compiler flag to the compiler?
Post by: Zingam 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?
Title: Re: Help passing a compiler flag to the compiler?
Post by: ivo on March 26, 2006, 03:31:22 pm
go to: compiler & debugger settings ->compiler->other options

OR

Project->Build options->compiler->other options
Title: Re: Help passing a compiler flag to the compiler?
Post by: Zingam 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.