public inbox for gentoo-alpha@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-alpha] The use of compaq compilers ccc and cxx.
@ 2003-12-09 16:01 Sigurd Stordal
  2003-12-10 13:09 ` Tavis Ormandy
  0 siblings, 1 reply; 3+ messages in thread
From: Sigurd Stordal @ 2003-12-09 16:01 UTC (permalink / raw
  To: gentoo-alpha

I've just loaded this compilers, and I just wonder if anyone else has used 
them, any packages that don't enjoy this compilers. Are they really very much 
better than gcc.
-- 
Sigurd Stordal
master in Petrology/mineralogy
President of GOGS
Opuscreator VS in DNM95

--
gentoo-alpha@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-alpha] The use of compaq compilers ccc and cxx.
  2003-12-09 16:01 [gentoo-alpha] The use of compaq compilers ccc and cxx Sigurd Stordal
@ 2003-12-10 13:09 ` Tavis Ormandy
  2003-12-10 22:52   ` Marc Giger
  0 siblings, 1 reply; 3+ messages in thread
From: Tavis Ormandy @ 2003-12-10 13:09 UTC (permalink / raw
  To: Sigurd Stordal; +Cc: gentoo-alpha

On Tue, Dec 09, 2003 at 05:01:35PM +0100, Sigurd Stordal wrote:
> I've just loaded this compilers, and I just wonder if anyone else has used 
> them, any packages that don't enjoy this compilers. Are they really very much 
> better than gcc.
> 

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).

cxx is a little more brittle than ccc, some code will make it dump core,
but ccc seems stable and gives very verbose and easy to read error
messages if something goes wrong, or it finds some code it doesnt like
(much nicer than gcc errors :).

the major problem with shared libraries is that applications compiled
with gcc that link with them require -lots, this can be solved by adding
libots to each library...i have some plans to work around this.

-- 
-------------------------------------
taviso@sdf.lonestar.org | finger me for my gpg key.
-------------------------------------------------------

--
gentoo-alpha@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-alpha] The use of compaq compilers ccc and cxx.
  2003-12-10 13:09 ` Tavis Ormandy
@ 2003-12-10 22:52   ` Marc Giger
  0 siblings, 0 replies; 3+ messages in thread
From: Marc Giger @ 2003-12-10 22:52 UTC (permalink / raw
  To: gentoo-alpha

On Wed, 10 Dec 2003 13:09:23 +0000
Tavis Ormandy <taviso@gentoo.org> 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@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-10 22:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-09 16:01 [gentoo-alpha] The use of compaq compilers ccc and cxx Sigurd Stordal
2003-12-10 13:09 ` Tavis Ormandy
2003-12-10 22:52   ` Marc Giger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox