Hi Douglas,

thank you! Yes, that has been the solution. FYI, to preserve
system-wide settings, I first copied the specs file given by 'gcc -v'
somewhere under my homedir, and then changed the line

%{static|static-libgcc:-lgcc 
-lgcc_eh}%{!static:%{!static-libgcc:%{!shared:%{!shared-libgcc:-lgcc 
-lgcc_eh}%{shared-libgcc:-lgcc_s%M -lgcc}}%{shared:-lgcc_s%M}}}

into

%{static|static-libgcc:-lgcc 
-lgcc_eh}%{!static:%{!static-libgcc:%{!shared-libgcc:-lgcc 
-lgcc_eh}%{shared-libgcc:-lgcc_s%M -lgcc}}}

as you have suggested. After executing './config', I edited
'Makefile.ssl' to contain

CC=
and
MAKEDEPPROG=

to hold gcc with the option '-specs=/path_to_my_own/specs'

That worked fine!

As a side note, the system logs you out once './config' has been
finished.

Thanks a lot again and
best,

rob.

--
On Wed, 20 Aug 2003, 11:36 GMT-05 (18:36 local time) Douglas E. Engert
wrote:

> I have done somrhitng like this:

> Gcc-3.1 introduced -shared-libgcc and -static-libgcc
> But when building shared libs, it wants to include the 
> -libgss_s shared version, even when not needed by default.
> This causes problems when trying to build shared libs, 
> as they will need the extra libgss_s.so.n.n when we really
> don't want. 

> So I have changed the specs to default to the static 
> lib gcc. 

> DEE 9/12/2

>  diff specs.orig specs
> 51c51
> < %{static|static-libgcc:-lgcc
> -lgcc_eh}%{!static:%{!static-libgcc:%{!shared:%{!shared-libgcc:-lgcc
> -lgcc_eh}%{shared-libgcc:-lgcc_s%M -lgcc}}%{shared:-lgcc_s%M}}}
> ---
>> %{static|static-libgcc:-lgcc
>> -lgcc_eh}%{!static:%{!static-libgcc:%{!shared-libgcc:-lgcc
>> -lgcc_eh}%{shared-libgcc:-lgcc_s%M -lgcc}}}


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to