When I attempt to compile a .c file with cc, I get an error that the -KPIC option is unrecognized. My command line is:
"cc" -g -erroff=%none -KPIC -DBOOST_ALL_NO_LIB=1 -I"../../.." -c -o "arithmetic_c.o" "arithmetic.c"
and the error is:
cc: error: unrecognized command line option ‘-KPIC’
Is this a bug in the C compile ( notice the output of the error ) or is the -KPIC option not used for C compilation ? If the latter is there an equivalent option for -KPIC when doing C compilation ?