Re: Pro*C & GNU C: _cg92 in sqlnet.a
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
: 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 WonkaReceived on Sat Jan 29 1994 - 04:18:27 CET