News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

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

Started by dhia hassen, October 29, 2017, 11:57:08 PM

Previous topic - Next topic

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

dhia hassen

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