This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC compiler
- To: "Hung Vu" <hungvu2000 at hotmail dot com>
- Subject: Re: GCC compiler
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 29 Dec 1999 21:27:24 -0700
- cc: help-gcc at gnu dot org
- Reply-To: law at cygnus dot com
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