Gentoo Archives: gentoo-alpha

From: Marc Giger <gigerstyle@×××.ch>
To: gentoo-alpha@g.o
Subject: Re: [gentoo-alpha] The use of compaq compilers ccc and cxx.
Date: Wed, 10 Dec 2003 16:52:06
Message-Id: 20031210235203.183fc5f8.gigerstyle@gmx.ch
In Reply to: Re: [gentoo-alpha] The use of compaq compilers ccc and cxx. by Tavis Ormandy
On Wed, 10 Dec 2003 13:09:23 +0000
Tavis Ormandy <taviso@g.o> wrote:

> They really do generate better performing code than gcc, and most > packages can be built successfully. I wouldnt reccomend switching from > gcc to ccc for shared libraries (like zlib, openssl, etc) at the > moment, but most other things should work just great, and give a > noticable performance improvement (apache, python, bash, perl, etc).
Have you tried to compile apache-2.0.48 with ccc? Does it work? If yes, how did you manage it? On a lot of packages (apache too) i get something like the following: cc: Error: apr_snprintf.c, line 439: In this statement, "__LONG_MAX__" is not declared. (undeclared) if ((num <= ULONG_MAX && is_unsigned) || (num <= LONG_MAX && !is_unsigned))----------------^ cc: Error: apr_snprintf.c, line 695: In this statement, "__LONG_MAX__" is not declared. (undeclared) if (num <= ULONG_MAX) ---------------^ make[4]: *** [apr_snprintf.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... Comments, suggestions, tips? Thanks Marc -- gentoo-alpha@g.o mailing list