From: Ian on
Hi,
Can anyone help please,
I am trying to use compile some pro*C programs on Oracle 10g with Solaris
10(Intel version)
I do not have the cc compiler and am trying to use gcc.
Can anyone point me to a makefile and env_mk that will work with this
combination. Tried changing the cc to = gcc etc but can't get it to compile.
my University uses cc, but I can't afford the Sun CC compiler, also tried
the trial of sun studio 10 and seems to compile OK but when programs run get
invalid and recursive errors. - beyond my understanding
Also need it for longer than 60 days. Looked on the web but example
makefiles seem too old.
A gcc compatible makefile and env_mk that works with Sol 10 and Oracle 10
would be appreciated
thanking you
regards
Ian

estacey(a)chariot.net.ZZ
change ZZ to direct reply


From: G Dahler on

"Ian" <not(a)available.com.au> a ýcrit dans le message de
news:42555cc8$1_2(a)news.chariot.net.au...
> Hi,
> Can anyone help please,
> I am trying to use compile some pro*C programs on Oracle 10g with Solaris
> 10(Intel version)
> I do not have the cc compiler and am trying to use gcc.
> Can anyone point me to a makefile and env_mk that will work with this
> combination. Tried changing the cc to = gcc etc but can't get it to
compile.
> my University uses cc, but I can't afford the Sun CC compiler, also tried
> the trial of sun studio 10 and seems to compile OK but when programs run
get
> invalid and recursive errors. - beyond my understanding
> Also need it for longer than 60 days. Looked on the web but example
> makefiles seem too old.
> A gcc compatible makefile and env_mk that works with Sol 10 and Oracle 10
> would be appreciated
> thanking you
> regards
> Ian
>

gcc is NOT supported by oracle on solaris. But it is on Linux. Don't know
why they do not support it, I guess they have some friends in the compiler
division at sun.

I know that people are succesfully running gcc compiled pro*c programs. I
have already myself searched the internet and found gcc makefiles for oracle
pro*c in the past.

Use google, you should succeed.

But you won't be supported by oracle if your pro*c program crashes or
corrupts your database (which I think is pretty impossible)