How to change built-in toolchains in eclipse cdt mingw32

I am compiling on windows with cdt / mingw. I like to compile a warning for free. I get the following warning:

auto-importing has been activated without --enable-auto-import specified
on the command line.

The next page offers a way to handle this - just add this option to the ld command line.

4.8 ld and WIN32 (cygwin / mingw)

So the question is, how do I change the default command line options for inline toolboxes?

I would also like to set the gcc warning level.

+5
source share
2 answers

You must send the parameter to the linker via the gcc -Wlparameter :

-Wl, parameter

. , : . . , -Wl,-Map,output.map -Map output.map . GNU-, -Wl,-Map=output.map.

, ( :)) -Wl,--enable-auto-import.

. .

+1

, . , , , .

project- > properties- > ++ - build- > settings

, , , .

" " , , MinGW ++ Linker- > Miscellaneous.

. , , .

, , , , .

, , , MinGW , , . Binary Parsers and Error Parsers, . " ". , eclipse, .

alt text

+1

All Articles