[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cgicc compile on HP-UX 11.11 using aCC
From: |
Bryan Jacquot |
Subject: |
cgicc compile on HP-UX 11.11 using aCC |
Date: |
Tue, 8 Jan 2002 09:04:24 -0700 (MST) |
Hello,
I was able to compile cgicc version 3.1.5 on HP-UX 11.11 using the
HP aCC c++ compiler (version C.03.26). However, I had to make the
following changes.
I would appreciate it if these changes could be included in the next
version of cgicc.
1) The HP aCC compilter requires a -AA compiler option in order
to compile ANSI C++ code. I couldn't figure out a way to do
this via configure (although there may be a way.)
To resolve this issue, I changed line 94 of the cgicc/Makefile
from:
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.
to:
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I. -AA
2) The MStreamable.cpp file is missing the CGICC_BEGIN_NAMESPACE,
and CGICC_END_NAMESPACE macros at the beginning and end of the
file. I'm not sure why it compiles correctly with gcc, but the
HP aCC compiler gave compiler errors without these macros.
Here's the (HP) diff -e output to fix the problem:
BEGIN--------------------------------------------
36a
CGICC_END_NAMESPACE
.
26a
CGICC_BEGIN_NAMESPACE
.
END----------------------------------------------
Please let me know if you have any questions regarding these issues.
James Wade and myself (both HP employees) found these issues.
Thanks,
Bryan Jacquot
Software Design Engineer
Hewlett-Packard Company
- cgicc compile on HP-UX 11.11 using aCC,
Bryan Jacquot <=
- RE: cgicc compile on HP-UX 11.11 using aCC, JACQUOT,BRYAN (HP-FtCollins,ex1), 2002/01/09
- RE: cgicc compile on HP-UX 11.11 using aCC, JACQUOT,BRYAN (HP-FtCollins,ex1), 2002/01/14
- RE: cgicc compile on HP-UX 11.11 using aCC, JACQUOT,BRYAN (HP-FtCollins,ex1), 2002/01/17
- RE: cgicc compile on HP-UX 11.11 using aCC, JACQUOT,BRYAN (HP-FtCollins,ex1), 2002/01/21