Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I Install and run 2 Versions of C Compiler on Same Box

Status
Not open for further replies.

naveenrt

Technical User
Mar 23, 2001
53
US
Hello
We have Two versions of software for an application . One is a production release maintenance and other development release. Both have different versions of compiler. Is there any way to install and run two version of compiler on the same box.
If yes how can i do the same

We use Visualage C++ from IBM.

It is very critical for me to have this up and running.

Can anyone help me

Thanks
Naveen

 
It would be difficult to do this, as the shared libraries and include files would be overwritten by the compiler installed last.

Bill.
 
i think so, i never seen machine before running on two different versions of C. Normally, they need to overwrite or remove first the previous version.
 
Thanks Bonsky/Bjverzal for your replies

I have an Idea to prevent it from overwriting . Please guide me on whether it works

1) I will create a link to the First version i want and will install in a directory called ibmc5.5
ln /usr/lpp/ibmcxx /apps/ibmc5.5

2) I will install the same using Smitty

3) After completion of installation i will change the link from ibmcxx to ibmc5.5 in /usr/lpp

4) 1) I will create a link to the Second version i want and will install in a directory called ibmc5.6
ln /usr/lpp/ibmcxx /apps/ibmc5.6

5) I will install the same using smitty

will this work....................??????

Thanks
Naveen
 
Again, the problem will be with the shared libraries and header files associated with the differenc versions of the compilers. The shared libraries and header files always install to the same location, so the one you install second will overwrite the shared libraries and header files from the first install.

Bill.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top