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
1 On Wed, 10 Dec 2003 13:09:23 +0000
2 Tavis Ormandy <taviso@g.o> wrote:
3
4 > They really do generate better performing code than gcc, and most
5 > packages can be built successfully. I wouldnt reccomend switching from
6 > gcc to ccc for shared libraries (like zlib, openssl, etc) at the
7 > moment, but most other things should work just great, and give a
8 > noticable performance improvement (apache, python, bash, perl, etc).
9
10 Have you tried to compile apache-2.0.48 with ccc? Does it work? If yes,
11 how did you manage it?
12 On a lot of packages (apache too) i get something like the following:
13
14 cc: Error: apr_snprintf.c, line 439: In this statement, "__LONG_MAX__"
15 is not declared. (undeclared) if ((num <= ULONG_MAX && is_unsigned)
16 || (num <= LONG_MAX && !is_unsigned))----------------^
17 cc: Error: apr_snprintf.c, line 695: In this statement, "__LONG_MAX__"
18 is not declared. (undeclared) if (num <= ULONG_MAX)
19 ---------------^
20 make[4]: *** [apr_snprintf.lo] Error 1
21 make[4]: *** Waiting for unfinished jobs....
22
23 Comments, suggestions, tips?
24
25 Thanks
26
27 Marc
28
29 --
30 gentoo-alpha@g.o mailing list