Operating System - HP-UX
1855033 Members
5217 Online
104109 Solutions
New Discussion

Using source code from "The porting and archiving center for HP-UX"

 
SOLVED
Go to solution
GBR
Regular Advisor

Using source code from "The porting and archiving center for HP-UX"

If I use the source code from the "The porting and archiving center for HP-UX" and it says that the source code is for 11.11, can it still be configured, compiled and installed on an hp-ux 11.0, 32 bit, PA 1.1 box.

GBR

6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Using source code from "The porting and archiving center for HP-UX"

In almost all cases, yes. In fact, most of the source will work on 10.20 as well. Part of the job of the configure script is to determine what OS version is in use and to set #define's accordingly. You do have to compile and create any required libraries as well so pay attention to the build-time dependencies. Configure is generall also smart enough to know if you have gcc and one of the HP development compilers (ANSI/C or aCC) installed and to set #defines for that as well.
If it ain't broke, I can fix that.
GBR
Regular Advisor

Re: Using source code from "The porting and archiving center for HP-UX"

Thanks.

Okay, so my next question is. If I'm reinstalling an OS, how do I get software installed, from source code, that has circular dependencies? For example gcc 4.1.1 and flex 2.5.4a.

Jonathan Fife
Honored Contributor

Re: Using source code from "The porting and archiving center for HP-UX"

Ultimately, you'll probably need a depot of a compiler on there. I'd search for depots of old versions of gcc which can then be used to compile current versions.

If you're on 11.0/32bit you can get depots from Merijn's page at http://hpux.ws/merijn/downloads.html
Decay is inherent in all compounded things. Strive on with diligence
A. Clay Stephenson
Acclaimed Contributor

Re: Using source code from "The porting and archiving center for HP-UX"

Beats me. I never use gcc on HP-UX but a few utilities will compile with the Bundled C compiler. If the Force is with you then maybe these guys will. Welcome to the chicken and egg problem. Sometimes it does make sense to pay HP for the development environments like aCC. You also could probably install a binary version of 11.11 code and then compile the source for a 11.0 target.
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor

Re: Using source code from "The porting and archiving center for HP-UX"

Hi Greg:

You might also find the FAQ at the Porting Center a useful reading. Note the last section titled "Special note for HP-UX 11.00/11.22 users" at the bottom here:

http://hpux.cs.utah.edu/hppd/answers/4-5.html

Regards!

...JRF...
GBR
Regular Advisor

Re: Using source code from "The porting and archiving center for HP-UX"

Thanks! Closed.