1753865 Members
7651 Online
108809 Solutions
New Discussion юеВ

ANSI C

 
SOLVED
Go to solution
Mike Fisher_5
Trusted Contributor

ANSI C

My search function has gone weird on me again
Can you help?

A client is loading HP-UX OE 11i onto his K460
It comes to a point where he's been asked for the codeword if he wants ANSI C enabled

Can I take it that this must mean it's a purchasable additional product?
[in the same way as say MirrorDisk]
Is it a compiling language?

I'm not confident about this stuff
So please forgive my VERY basic questions

Mike
Don't get mad - get naked

 

P.S. This thread has been moved from HP-UX>General to HP-UX > languages. -HP Forum Moderator

Don't get mad - get naked
9 REPLIES 9
Steven E. Protter
Exalted Contributor
Solution

Re: ANSI C

ANSI C or C++ are add in products that require a code word.

You add it with swinstall -i
Action Add Code Word.

You should have paperwork with the software that includes the code word.

I get ANSI C and C++ confused.

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
Victor BERRIDGE
Honored Contributor

Re: ANSI C

Hi,
Yes you would have to pruchase ANSI C if needed...
(Mind you gcc should do the trick...)
Its HP's ansi C compiler

All the best

Victor
Steven E. Protter
Exalted Contributor

Re: ANSI C

Sorry.

ANSI C is most definitely a compiling language/compiler. Made for creating little programs or even big complex ones.

Darn that enter key.

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
James R. Ferguson
Acclaimed Contributor

Re: ANSI C

Hi Mike:

Yes, the Ansi C compiler must be purchased/licensed and hence requires a codeword. The bundled C compiler that HP provides is quite limited in features.

Regards!

...JRF...
Umapathy S
Honored Contributor

Re: ANSI C

Mikey,
Nothing more to add.

ANSI C comes with the OS itself. But we have to purchase the code_word which costs a fortune :-).

There is no need, unless the client is trying to do some serious application development and that too in C.

If budget is tight lipped then you can go for gcc. http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.2.3/

You can also get it from our Merijn's site.

cheers
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Pete Randall
Outstanding Contributor

Re: ANSI C

Mike,

Sorry to be late for the party - took the wife to lunch!

I think the key here is whether the client needs the ANSI C compiler or not. If they're developing C programs, then they definitely would, unless the gnu c compiler (which can be had for free) would suit them.

If they're not developing code, then there's no point paying the extra for it.


Pete


Pete
Indira Aramandla
Honored Contributor

Re: ANSI C

Hi,

Yes, ANSI C comes with the OS itself. But when the core OS is installed the "HP C/ANSI C" Compiler will not be installed by default. The software will be on the OS CD's and you will need a code word to be able to install it.

If you need the compiler and if the client is paying for the product then you can request HP Support to generate the code word for you. Then you can use SAM to install and it will ask you for the code word to validate before installing the software.

I had done the same last month.

Never give up, Keep Trying
James R. Ferguson
Acclaimed Contributor

Re: ANSI C

Hi Mike:

BTW, if you haven't seen this recent thread on the relative merits of using HP's ANSI C versus gcc(GNU's C) then you may be interested:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6859133a27ba694587598688c5b9f4ce,00.html

Regards!

...JRF...

Mehdi_1
Regular Advisor

Re: ANSI C

Hi Mike

you haven't mentioned what version of 11i you have.

11.11
11.15
11.16

The last two are IA64 platform. As far as I know 11.16 come with ANSI C compiler ( I may be wrong). but the other two (11.11, and 11.15) you need to purchase the Ansi C compiler. It worth to check that before you spend the money on something that you may already have on your machine or your disk.


__Mehdi