On 13 Apr, Jean-Marc Lasgouttes wrote:
> Jan> Has anyone actually compiled this version with aCC on an HP? Any
> Jan> special compiler switches to fix this? Just perusing the list
> Jan> archives, I seem to find almost no compilers used except gcc/g++,
> Jan> and serious problems with IRIX and Solaris C++ compilers as well.
> Jan> Does this program *only* compile on gcc?
>
> I do not think that anybody tried that, but we would really like to
> get it going. I personnally ensure that LyX compiles with DEC cxx 6.1,
> and some fixes have been done for Sun CC 5.0 (although it does not
> work yet). Nothing can happen unless someone who has access to the
> compiler volunteers to report problems and maybe fix them.
Well, I'd be glad to take a shot at getting lyx to run on my
HP with aCC, so I'll get 1.1.4 and the fixes and see how it goes.
One thing about the HP (and SGI) C++ compiler is that it is
getting more and more ansi-compliant, so C++ programs should be
getting more portable as time goes on.
One additional thing in configure:
I've found a bug in aCC when it calls the preprocessor
as aCC -E - it drops the \n at the end of the file, so that the
test for xpm version in configure fails. A workaround is to
use CPP instead of CXXCPP in ac_cpp, since cc -E works right.
The fix doesn't seem to affect anything else, but I haven't
checked extensively.
-jmm
--
**********************************************************
Jan M. Martin Jet Propulsion Laboratory
[EMAIL PROTECTED] M/S 300-235
**********************************************************