Hi GCC team, 

We have problem in PRO C binary files, we are not able to connected to database
(Oracle 11g). 

We have build file to generate PRO C executable file. When we run the make file
we are getting below error 

/usr/bin/gcc -xarch=v9* -o fanpf005 fanpf005.o
-L/ora11G/app/oracle/product/11.1.0/db_1/lib/ -lclntsh `cat
/ora11G/app/oracle/product/11.1.0/db_1/lib/ldflags`   `cat
/ora11G/app/oracle/product/11.1.0/db_1/lib/sysliblist` -ldl -lm

gcc: language arch=v9* not recognized
gcc: language arch=v9* not recognized

Could please help us what param value to be set for –xarch to connect to Oracle
11g database. And below is GCC version

Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=x86_64-redhat-linux

Thread model: posix

gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) 

Could you please help us on resolving the Issue as we are struck with for very
long time. Appreciate your early response.

Thanks & best regards,
Rahiman


-- 
           Summary: Issue in connecting to Oracle 11g from GCC compiler
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: surajul at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43268

Reply via email to