Home » Developer & Programmer » Precompilers, OCI & OCCI » Is Pro*C supported in Linux?
Is Pro*C supported in Linux? [message #670500] Mon, 09 July 2018 10:15 Go to next message
panduro
Messages: 2
Registered: July 2018
Junior Member
Hi experts,

I got a customer question: Is Pro*C supported in Linux?

They are currently using Pro*C on Solaris on SPARC and are planning to move to Linux in x86 but would like to know first if their Pro*C code will work fine in Linux as it does now in Solaris, that is, if the Linux compiler will compile fine the Pro*C generated code.

Thanks,
JD
Re: Is Pro*C supported in Linux? [message #670501 is a reply to message #670500] Mon, 09 July 2018 10:31 Go to previous messageGo to next message
EdStevens
Messages: 947
Registered: September 2013
Senior Member
panduro wrote on Mon, 09 July 2018 10:15
Hi experts,

I got a customer question: Is Pro*C supported in Linux?

They are currently using Pro*C on Solaris on SPARC and are planning to move to Linux in x86 but would like to know first if their Pro*C code will work fine in Linux as it does now in Solaris, that is, if the Linux compiler will compile fine the Pro*C generated code.

Thanks,
JD
Why not just go to the download page and see for yourself what is available?
http://www.oracle.com/technetwork/topics/precomp-112010-084940.html

BTW, are you sure about it being for linux x86 (which is 32-bit) and not x86-64 (which is 64-bit)? You can't even buy 32-bit hardware any more (well perhaps some antique on ebay) so why run a 32-bit OS?

[Updated on: Mon, 09 July 2018 10:32]

Report message to a moderator

Re: Is Pro*C supported in Linux? [message #670502 is a reply to message #670501] Mon, 09 July 2018 10:49 Go to previous messageGo to next message
panduro
Messages: 2
Registered: July 2018
Junior Member
Thank you Ed.

Yes sorry I meant x86 architecture (in opposite to SPARC) but you are right it would be x86-64.

Ok so I see it is supported as it is in the download page as you mention.

The next question would be: would all their code written in Pro*C and used with Solaris C compiler on SPARC all these years be compatible with Linux compiler in x86-64 or they would need to rewrite the code somehow?

Being Pro*C a precompiler I guess it should be totally OS agnostic but I am totally a newbie regarding Pro*C so I would like to confirm it.

Thanks,
JD
Re: Is Pro*C supported in Linux? [message #670503 is a reply to message #670502] Mon, 09 July 2018 10:57 Go to previous message
Michel Cadot
Messages: 65562
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

Just re-precompile/compile/link.
Pro*C is more compatible across platforms than C itself.

Previous Topic: OCI functions to load data in application directory
Goto Forum:
  


Current Time: Wed Jul 18 00:18:55 CDT 2018