1847835 Members
4716 Online
104021 Solutions
New Discussion

g++ vs. HP aCC

 
Chun-Pang Li
Contributor

g++ vs. HP aCC

Hi,

I am wondering if any programming guru can solve this mystery:

the attachement (tt.tar) contain the following files:
replace2.c : main program, read ffile.lst for string process.

temp2c, temp2.cpp : orignial file and the one after conversion.

names.lst : string mapping table

to compile the program:
aCC -o replace2.hpux replace2.c

after execute the binary executable replace2.hpux, the output file temp2.cpp didn't looks the same as the one using g++ on linux (you may use 'diff temp2.cpp temp2.cpp.linux' to compare the difference).

Any comments?