User forums > Using Code::Blocks

Help passing a compiler flag to the compiler?

(1/1)

Zingam:
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?

ivo:
go to: compiler & debugger settings ->compiler->other options

OR

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

Zingam:
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.

Navigation

[0] Message Index

Go to full version