Author Topic: Erorr while trying to compile in Mac Os -(mfpmath=sse)  (Read 8810 times)

saharz

  • Guest
Erorr while trying to compile in Mac Os -(mfpmath=sse)
« on: October 28, 2013, 11:06:34 am »
This is the error that i get when trying to compile and run the code:

-------------- Build: Debug in hw0 (compiler: GNU GCC Compiler)---------------

gcc -Wall -Werror -pedantic -ansi -W -mfpmath=sse -msse2 -O -g  -c /Users/saharzada/Documents/hw0a/hw0/hw0q1.c -o obj/Debug/hw0q1.o

clang: error: argument unused during compilation: '-mfpmath=sse'

Process terminated with status 1 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))


anyone can help me with that?

tnx
 
« Last Edit: October 28, 2013, 11:11:00 am by saharz »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
Re: Erorr while trying to compile in Mac Os -(mfpmath=sse)
« Reply #1 on: November 05, 2013, 06:58:42 pm »
clang: error: argument unused during compilation: '-mfpmath=sse'
Remove that flag from your build options (compiler/project/target level... dunno where you added this).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ