-
compiling error -f68881
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!
-
Code:
$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
What does yours say?
> cc1: error: unrecognized command line option "-f68881"
The 68881 was the numeric co-processor of the 68K, which was the processor of choice for ancient Mac's.
Since you probably don't have one of those, perhaps you could just delete "-f68881" from your makefiles.