Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Måns Rullgård" <mru@inprovide.com>
Subject: Re: CCC vs GCC Optimizations - my current results
Date: Sat, 26 Feb 2005 13:17:05 +0100	[thread overview]
Message-ID: <yw1xvf8fbjni.fsf@ford.inprovide.com> (raw)
In-Reply-To: ogZTd.23510$Sq5.15599@twister.rdc-kc.rr.com

" DiskMan" <nobody@thewheel.com> writes:

> I did a little testing using OPENSSL and there are some differences in
> performance with CCC being the clear winner. The only hitch is, you can only
> build static libs using CCC, shared libs are only supported under GCC. So
> the speed doesn't do me any good in that regard since a LOT of programs out
> there are looking for /usr/lib/libssl.so.0.9.7. :-(

With some hacking of the configure script, CCC can be used to build
shared libs just fine, or you can link the static lib into a shared
one afterwards.  Something like

gcc -shared -o libcrypto.so.0.9.7 -Wl,--whole-archive libcrypto.a -ldl -lots
gcc -shared -o libssl.so.0.9.7 -Wl,--whole-archive libssl.a -lcrypto

should do it.

-- 
M�ns Rullg�rd
mru@inprovide.com


  reply	other threads:[~2005-02-26 12:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-26 11:44 CCC vs GCC Optimizations - my current results  DiskMan
2005-02-26 12:17 ` Måns Rullgård [this message]
2005-02-27  5:39   `  DiskMan
2005-02-27 10:27     ` Måns Rullgård
2005-02-27 12:52       `  DiskMan
2005-02-27 13:06         ` Måns Rullgård
2005-02-27 16:04           `  DiskMan
2005-02-27 16:34             ` Måns Rullgård
2005-02-27 18:40               ` gl :)
2005-02-28 11:22                 `  DiskMan
2005-02-28 11:54                   ` Måns Rullgård
2005-02-28 20:35                     `  DiskMan
2005-02-28 21:00                       ` Måns Rullgård
read-only archive

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