gcc, Pro*C and SUNWspro libraries
From: Norm Russell <nrussell_at_etc.bc.ca>
Date: Fri, 7 Oct 1994 20:01:22 GMT
Message-ID: <1994Oct7.200122.966_at_news.etc.bc.ca>
Date: Fri, 7 Oct 1994 20:01:22 GMT
Message-ID: <1994Oct7.200122.966_at_news.etc.bc.ca>
I received some help from a guy at Oracle Support on possible 'unsupported' use of gcc with Pro*C.
Does anybody know what software package would provide this library? gcc, some SUN product???
Here's the help fax I received from Oracle.... (hopefully with no typo's :)
When using the gcc compile with Pro*C on Solaris, you will have to make the following changes to proc.mk. Please note that gcc is not a supported compile for Pro*C.
Change
samplec: samplec.c samplec.pc
_at_$(ECHO) $(RCC) $(CFLAGS) $(LDFLAGS) -o $@ samplec.c $(PROLDLIBS)
to
samplec: samplec.c samplec.pc
_at_$(ECHO) $(RCC) $(CFLAGS) -Xlinker -u -Xlinker __cg93_libc \
-L/opt/SUNWspro/SC2.0.1/cg92 /opt/SUNWspro/SC2.0.1/cg92/__fstd.o \ $(LDFLAGS) -o $_at_ samplec.c $(PROLDLIBS)and change
RCC=cc -I. -O -xcg92
to
RCC=gcc -I. -O
Norm
-- Norm Russell, Sr. Database Administrator | Phone: +1 (604) 655-4846 B.C. Systems Corporation | Fax: +1 (604) 655-1029 Dunsmuir Lodge, Education Technology Centre | P.O. Box 2040, 1515 McTavish Road | OV/ID: VAXBCSC(NRUSSELL) Sidney, B.C. CANADA V8L 3S3 | E-Mail: nrussell_at_etc.bc.ca Disclaimer: The opinions expressed are my own and not those of my employerReceived on Fri Oct 07 1994 - 21:01:22 CET