Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

higeorge

macrumors newbie
Original poster
Nov 15, 2010
3
0
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!
 

lee1210

macrumors 68040
Jan 10, 2005
3,182
3
Dallas, TX
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.

-Lee
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.