From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,4b4557aaa0e81844 X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: =?iso-8859-1?q?M=E5ns_Rullg=E5rd?= Newsgroups: comp.os.linux.alpha Subject: Re: CCC vs GCC Optimizations - my current results Date: Sun, 27 Feb 2005 11:27:27 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: individual.net as+AXpQNn3l6YYppJysaQAgkrCc7kIwu02b95DnYDxuD6twWe+ User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:/bqKjJnTSu9dnnPZFzsSJ4FAnEI= Xref: g2news1.google.com comp.os.linux.alpha:771 " DiskMan" writes: > "M�ns Rullg�rd" wrote... >> " DiskMan" 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. > > I'm going ot keep a copy of this post, I might go ahead and give that a shot > and see what happens... I forgot one thing. That last gcc command should have a -L. in there as well: gcc -shared -o libssl.so.0.9.7 -Wl,--whole-archive libssl.a -L. -lcrypto -- M�ns Rullg�rd mru@inprovide.com