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: Sat, 26 Feb 2005 13:17:05 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: individual.net PfG3ClJNOsSeNG1HEUdWDAmrgyyXPvKCZ/KnhBons5b89t0YqS User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:tObNbfclEM/7bDrgE2nhk6AhRI0= Xref: g2news1.google.com comp.os.linux.alpha:767 " 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. -- M�ns Rullg�rd mru@inprovide.com