Andy <> writes:
> I've got the following error when compiling a little program with Sun
> Forte on Solaris 9
> cc -ansi -O -I/usr/openwin/include -I/usr/include/X11 -DSYSV -
> D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -Di386 -DNeedFuncProto -
> c cl.c
> cc: Warning: illegal option -nsi
> cc: -a conflicts with -dy.
> *** Error code 1
> make: Fatal error: Command failed for target `cl.o'
Apparently the "cc" command doesn't recognize a "-ansi" option.
Why did you assume that it did?
--
Keith Thompson (The_Other_Keith)
kst- <http://www.ghoti.net/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"