Operating System - Linux
1835328 Members
2616 Online
110078 Solutions
New Discussion

Re: What is the chance of setting HP compiler free ?

 
SOLVED
Go to solution
T.J. Yang
Frequent Advisor

What is the chance of setting HP compiler free ?

I know this is a tough subject to talk about.

But IMHO, easy access and affordable compiler will increase the chance developer writting software for HP-UX.

I know you can counter me with "if developer really want to develop software on HP-UX, price of compiler is not an issue".

Sun studio 11 is now free, shouln't HP catch up the offer ?

PS:I don't have answer for who will feed the HP compiler team.

tj
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: What is the chance of setting HP compiler free ?

Shalom TJ,

I think you point out one of the many reasons that Linux is growing so fast. It comes with a nice set of open source compilers.

Most of those compilers however have been ported to HP-UX.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
T.J. Yang
Frequent Advisor

Re: What is the chance of setting HP compiler free ?

Is there information about how to compile gcc compiler without first using HP ansic C compiler to bootstrap with ?
James R. Ferguson
Acclaimed Contributor
Solution

Re: What is the chance of setting HP compiler free ?

Hi:

Thanks to Merijn you could begin here:

http://mirrors.develooper.com/hpux/index.html#Gcc

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: What is the chance of setting HP compiler free ?

tj

gcc 4.1
http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.1.0/
run time libs
http://hpux.connect.org.uk/hppd/hpux/Gnu/libgcc-4.1.0/
make
http://hpux.connect.org.uk/hppd/hpux/Gnu/make-3.80/
flex
http://hpux.connect.org.uk/hppd/hpux/Gnu/flex-2.5.4a/

There are other requirements within these links.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Arunvijai_4
Honored Contributor

Re: What is the chance of setting HP compiler free ?

Hi Yang,

You can find HP's supported GCC builds at,
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html

(You need to register with DSPP before downloading and its free)

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
A. Clay Stephenson
Acclaimed Contributor

Re: What is the chance of setting HP compiler free ?

If someone were to suggest to you that you give away your software, what would your response be? For anyone who has done serious software development, the cost of development tools and even the hardware that it runs on is all but trivial in comparison to the total development costs. The real costs lie in the developers' salaries. Very seldom is software developed specifically for a platform (especially in the UNIX world) so the decision or whether or not to deploy on HP-UX really comes down to a business decision -- as it should.

As the others have said, gcc is certainly a viable option although I have seen cases where the gcc code was less then optimally optimized.

I realize that this runs counter to the Linux culture where everything should be free (except for your software, of course).
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: What is the chance of setting HP compiler free ?

Oh, by the way, while I haven't done this in the HP world, I have been able to persuade major hardware vendors to supply development hardware and software to port existing applications to their platforms. If you can make a valid business case then the rest is easy. If not, ...
If it ain't broke, I can fix that.
rick jones
Honored Contributor

Re: What is the chance of setting HP compiler free ?

While I would not suggest it for long-term development and maintenance, there is www.testdrive.hp.com whereby folks can gain access to a number of different HP systems running various supported OSes and with varoius compilers.

As previously mentioned, the DSPP does offer a gcc compiler precompiled, and via the DSPP you might be able to get setup as an ISV/whatever to acrue the benefits therein.

I would suggest trying as much as possible to use the HP compiler rather than gcc if for no other reason than simply this - the runtime environment required when using the HP compiler will already be present on any system running HP-UX without requiring the user to install the HP compiler. I have experienced firsthand, consuming library packages from http://hpux.connect.org.uk/ that when compiled with gcc, various gcc-specific libs may be necessary. This happened when I was compiling my code with HP compilers, but linking against libraries they compiled with gcc.
there is no rest for the wicked yet the virtuous have no pillows