User forums > Using Code::Blocks

Extra flags are passes only when building each file but not when assembling them

(1/1)

dhia hassen:
I am passing '-Wl-wrap,symbole' flag to mingw32++.exe ( default compiler ) via code::blocks using 'additional compiler flags' option in project's build options , the additional flags were passes to the compiler correctly when i build the project as i van see in the build log , but when code::blocks is executing the final command 'mingw++32.exe -o projeect.exe ....' the extra flags i added are not passes , they are only passes when building a single file seperatly , even if i add thé flags to thé compiler options outside thé project ( global settings ) from thé settings menu ..... how can i fore code::blocks to pass the extra compiler options to the compiler at thé final command , il using the last version of code::blocks .

stahta01:
Compiler Flags are passed to the Compiler Step.
Linker Flags are passed to the linker step.

Tim S.

dhia hassen:
Works like a sharm , sorry for anoying this helped alot , i hope it helps others , thanks

Navigation

[0] Message Index

Go to full version