1836265 Members
3381 Online
110097 Solutions
New Discussion

Re: ANSI make

 
Ge Jianqiang
New Member

ANSI make

Hi ANSI exports:
I'm migrating C source code and corresponding make files from TRU64 platform to HP UX platform. I countered the problem that the HP make doesn't recognise prefix and suffix symbols in the TRU64(e.g. $(tarcwg01_OBJS/^/$(CWGDIR)\/). Now I try to install ANSI C make program in the HP UX platform. Any export can help me for these points:

1> WHere to download or buy ANSI make program?

2> Where to find the "ANSI make" related DOCs so that I may need to do some change to my old makefile?

Thanks

Jianqiang


have
3 REPLIES 3
Fred.Wu
Frequent Advisor

Re: ANSI make

You have to buy,ANSI C need a license
fred
H.Merijn Brand (procura
Honored Contributor

Re: ANSI make

For make use GNU make (https://www.beepz.com/personal/merijn/ or http://www.cmve.net/~merijn/ (both have make-3.80) or http://hpux.connect.org.uk/hppd/hpux/Gnu/make-3.79.1/), making porting from OS to OS a lot easier.

The C compiler bundled with HP-UX is braindead, non ANSI compliant, and useless for porting. You'd either have to buy HP's C-ANSI-C compiler, or download and install GNU gcc (3.2 or up) which is free, but it's generated code is 25% slower than the code generated by HP's compiler. Gcc is available on https://www.beepz.com/personal/merijn/ or http://www.cmve.net/~merijn/ or http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.2/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Ravi_8
Honored Contributor

Re: ANSI make

Hi,

you need to buy HP C/ANSI C compiler. it's not downloadable

making changes to old makefile doesn't seems to be work, since you are porting from Tru64 to HP-UX.
never give up