Operating System - HP-UX
1833793 Members
2705 Online
110063 Solutions
New Discussion

Re: ANSI-C compiler or GCC .. for apache ..

 
someone_4
Honored Contributor

ANSI-C compiler or GCC .. for apache ..

I have been working on this and i was going to install gcc but now i read that ANSI-c is better .. what does ANSI do and why .. and what is better for apache?
9 REPLIES 9
Trevor Dyson
Trusted Contributor

Re: ANSI-C compiler or GCC .. for apache ..

Hi,

The ANSI-C compiler can optimise to compiled code for the PA-Risc processor.

Regards, Trevor
I've got a little black book with me poems in
Kofi ARTHIABAH
Honored Contributor

Re: ANSI-C compiler or GCC .. for apache ..

ANSI-C is an HP supported product, so if you care about getting support you might go that route - If you care about how much it costs, then you should probably stick with gcc - its free! (and it does not appear that you will be compiling much of your own code, so it might not be worth the investment to buy ANSI-C)

my 2c
nothing wrong with me that a few lines of code cannot fix!
Denver Osborn
Honored Contributor

Re: ANSI-C compiler or GCC .. for apache ..

Are you working on installing Apache on the system and need a compiler for it? If so you may want to consider downloading and installing the ported apache web server from the hp-ux porting and archive centre;

http://hpux.cs.utah.edu/hppd/hpux/Networking/WWW/apache-1.3.14/
Anthony Goonetilleke
Esteemed Contributor

Re: ANSI-C compiler or GCC .. for apache ..

I think it is actually a lot less painfull if you have both, especially compiling gnu stuff I would go with gcc its a lot less painless. Install gcc/binutils/gmake and thats most of you work done. I have never seen the compiler to be an issue with GNU software in terms of optimization but Ive seen a lot less problems when building with gcc.

regards,
Anthony
Minimum effort maximum output!
someone_4
Honored Contributor

Re: ANSI-C compiler or GCC .. for apache ..

how is a ported apache web server differnt from the regular one. so i guess i have to delete all the files that i have un tarred.
Kofi ARTHIABAH
Honored Contributor

Re: ANSI-C compiler or GCC .. for apache ..

Yes Richard, the ported one has already been compiled for HPUX and you do not have to compile it from the source. It makes it easier to use.

..and you are right you do not need to untar it once you download it.... you can swinstall it after uncompressing it.

nothing wrong with me that a few lines of code cannot fix!
someone_4
Honored Contributor

Re: ANSI-C compiler or GCC .. for apache ..

I am having trouble with swinstall but i am going to open up a call with HP..
someone_4
Honored Contributor

Re: ANSI-C compiler or GCC .. for apache ..

I got it installed and it looks like i am on my way
Dan Hetzel
Honored Contributor

Re: ANSI-C compiler or GCC .. for apache ..

Hi Richard,

ANSI-C or GCC ?? It depends what are your compilation needs. As it looks like you're not going to compile a lot, keep in mind that gcc is FREE.

ANSI-C is a supported HP product, optimised for PA-RISC processors but, you'll have to buy it.
As far as I know, using GCC produces the kind of executables nobody is complaining about. They are pretty efficient.
If you're planning to install a lot of the free GNU utilities, then gcc is an absolute must; add 'gmake' and nearly all the programs will compile straight off the box.

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com