Author Topic: mingw32-g++.exe: error: unrecognized option '-system'  (Read 6839 times)

wawa

  • Guest
mingw32-g++.exe: error: unrecognized option '-system'
« on: March 07, 2012, 09:51:49 pm »
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 :)

Online stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
Re: mingw32-g++.exe: error: unrecognized option '-system'
« Reply #1 on: March 07, 2012, 09:59:59 pm »
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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org