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: Sun, 27 Feb 2005 11:27:27 +0100	[thread overview]
Message-ID: <yw1xk6ou9u28.fsf@ford.inprovide.com> (raw)
In-Reply-To: J2dUd.14583$3V3.5353@twister.rdc-kc.rr.com

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

> "M�ns Rullg�rd" <mru@inprovide.com> wrote...
>> " 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.
>
> 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


  reply	other threads:[~2005-02-27 10:27 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
2005-02-27  5:39   `  DiskMan
2005-02-27 10:27     ` Måns Rullgård [this message]
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