Re: Pro*C & GNU C: _cg92 in sqlnet.a

From: Jeff Kopmanis <jeffk_at_garnet.msen.com>
Date: 29 Jan 1994 03:18:27 GMT
Message-ID: <2icki3$e39_at_nigel.msen.com>


: I have been using GNU C v2.5.7 to compile PRO*C programs for Oracle 7
: on a Sun SparcServer 1000 and Sun Classic without any problems. I use
: the following script :
 

: proc iname=$1.pc include=$ORACLE_HOME/proc/lib ltype=none ireclen=220
: select_error=n code=ansi_c dbms=v7 sqlcheck=syntax line=y
 

: gcc -O2 -c -v $1.c
 

: ld -V -dy /export/home/oracle7/rdbms/lib/crti.o
: /export/home/oracle7/rdbms/libcrt1.o
: /opt/SUNWspro/bin/../SC2.0.1/cg92/__fstd.o
: /opt/SUNWspro/bin/../SC2.0.1/values-xt.o
: /export/home/oracle7/lib/osntab.o
: -o $1 $1.o -L $ORACLE_HOME/lib -lsql -lsqlnet -lora -lnetwork -lcore
: -ldl -laio -u __cg92_libc -L /opt/SUNWspro/SC2.0.1/cg92 -lm
: -Y P,/opt/SUNWspro/bin/../SC2.0.1/cg92:/opt/SUNWspro/bin/../SC2.0.1:/usr/ucblib:/usr/ccs/lib:/usr/lib
: -Qy -lc /export/home/oracle7/rdbms/lib/crtn.o

But you STILL have to have the SUNWspro packages to link it! What's the point of using GNU if you have access to the SPARCompiler?

--
Jeff Kopmanis       (Ann Arbor, Michigan)   |  email:  jeffk_at_msen.com
Organizer of the Linux Software Map (LSM)   |  phone: (313) 393-4784 (work)
"So shines a good deed in a weary world."  -Willy Wonka
Received on Sat Jan 29 1994 - 04:18:27 CET

Original text of this message