News:

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

Main Menu

mingw32-g++.exe: error: unrecognized option '-system'

Started by wawa, March 07, 2012, 09:51:49 PM

Previous topic - Next topic

wawa

Hey guys,
this is my first post and hope i am in the right corner of the Forum?

my Problem:
i just installed CodeBlocks before that i was on DevCPP, but i heart so much good stuff of CodeBlocks
but i cant compile any of my sources...
i only get this:

mingw32-g++.exe: error: unrecognized option '-system'

i didnt anything about this error on google :(
so i hope du find here some help?


so thank very much and i hope you can help me.
BTW:
sorry for my bad englisch :)

stahta01

http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Find the cause of the wrong option; fix the cause.
But, first find out what the command being sent by Code::Blocks by using the above link.

Note: My guess is you put a linker option in wrong or put the linker option in the compiler option location.

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]