GCC compiler
Jeffrey A Law
law@cygnus.com
Wed Dec 29 20:27:00 GMT 1999
In message < 19991230042456.30587.qmail@hotmail.com >you write:
> Dear Sir,
>
> I used a sample (C source code from Oracle corp.) which used the compiler
> from SUN. Now I compile this sample with the new compiler (gcc v2.95.1)and
> I
> had the following error messages:
> gcc: unrecognized option `-Xa'
> gcc: unrecognized option `-K'
> gcc: language chip=ultra not recognized
> I copy all my screen for you:
> ( make -f demo_rdbms.mk build EXE=demo OBJS=demo.o
> gcc -xO2 -Xa -xstrconst -xF -mr -xarch=v8 -xcache=16/32/1:1024/64/1
> -xchip=
> ultra -D_REENTRANT -K PIC -I/8i/app/Oracle05/product/8.0.5/rdbms/demo
> -I/8i/app
> /Oracle05/product/8.0.5/rdbms/public
> -I/8i/app/Oracle05/product/8.0.5/plsql/publ
> ic -I/8i/app/Oracle05/product/8.0.5/network/public -DSLMXMX_ENABLE
> -DSLTS_ENABLE
> -D_SVID_GETTOD -c demo.c
> gcc: PIC: No such file or directory
> gcc: unrecognized option `-Xa'
> gcc: unrecognized option `-K'
> gcc: language chip=ultra not recogn
You should read the GCC manual. You will find these options are not for
the GCC compiler, but instead are for some other compiler.
Obviously if you pass GCC options that were for some other compiler compiler
then GCC is going to issue error messages.
jeff
More information about the Gcc-help
mailing list