From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: "Hung Vu" Cc: help-gcc@gnu.org Subject: Re: GCC compiler Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: <7902.946528044@upchuck> References: <19991230042456.30587.qmail@hotmail.com> X-SW-Source: 1999-12n/msg00380.html Message-ID: <19991231222400.hoSh9BmmKrQfdV28wxyIvlWgcsSxJG9uFPEKC3Q3Nwg@z> 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