compiling error -f68881

Discussion in 'Mac Programming' started by higeorge, Nov 15, 2010.

  1. macrumors newbie

    Nov 15, 2010
    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!
  2. macrumors 68040


    Jan 10, 2005
    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.

  3. thread starter macrumors newbie

    Nov 15, 2010

Share This Page