View Full Version : compiling error -f68881

Nov 15, 2010, 09:32 PM
Hi I am trying to compile a c code. I installed the extra x files from the mac install disc. This is my makefile:

segy2sac: segy2sac.o
cc -g -f68881 -o segy2sac segy2sac.o
segy2sac.o: segy2sac.c
cc -g -f68881 -c segy2sac.c

and the error that I get is this:

gcc -g -f68881 -c segy2sac.c
cc1: error: unrecognized command line option "-f68881"
make: *** [segy2sac.o] Error 1

Can anyone tell me what this means and how to fix it? Would really appreciate it!

Nov 15, 2010, 10:08 PM
You can likely remove this without issue. This seems to be related to the motorola 68881 FP coprocessor used with the 68020 or 68030. This covers the Macintosh II and Macintosh LC. If you're running OS X you are unlikely to be targeting this architecture.


Nov 16, 2010, 01:31 PM
That worked, thank you very much!