Code::Blocks

User forums => Using Code::Blocks => Topic started by: dhia hassen on October 29, 2017, 11:57:08 pm

Title: Extra flags are passes only when building each file but not when assembling them
Post by: dhia hassen on October 29, 2017, 11:57:08 pm
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 .
Title: Re: Extra flags are passes only when building each file but not when assembling them
Post by: stahta01 on October 30, 2017, 12:00:41 am
Compiler Flags are passed to the Compiler Step.
Linker Flags are passed to the linker step.

Tim S.
Title: Re: Extra flags are passes only when building each file but not when assembling them
Post by: dhia hassen on October 30, 2017, 06:13:49 am
Works like a sharm , sorry for anoying this helped alot , i hope it helps others , thanks