Article View: news.software.readers
Article #66486Re: slrn, slang, etc.
From: Drazen Kacar
Date: Fri, 13 Oct 2000 03:52
Date: Fri, 13 Oct 2000 03:52
37 lines
2697 bytes
2697 bytes
John E. Davis wrote:
> On 12 Oct 2000 19:37:35 GMT, Drazen Kacar <dave@srce.hr>
> wrote:
> >Could somebody tell me if S-Lang 1.4.2 is stable and binary compatible
> It is supposed to be binary compatible. The only problems that I have
> run into stemmed from using one version of gcc to compile, say, lynx
> and another to compile slang. I needed to recompile both with the
> same version of gcc.
Strange... That's supposed to be C++ problem. Is it only gcc or the
problem can be seen with other compilers? I've just run configure script
(1.4.2 version) on Solaris and it says:
ELF_LINK = ld -G -z text -h#
This is not correct on SYSV-ish systems, like Solaris or UnixWare. Compiler
which was used to compile the source should be used to link the library.
So, for cc that should be:
ELF_LINK = cc -G -z text -h libslang.so.1
For gcc, I think it should be:
ELF_LINK = gcc -shared -Wl,-ztext -Wl,-hlibslang.so.1
If direct ld(1) invocation is used, then the proper init and finish functions
will not be placed into the library. And if the wrong flags are passed,
then application start-up code could end in the library, which might
be accountable for "different compiler" problem.
--
.-. .-. Sarcasm is just one more service we offer.
(_ \ / _)
| dave@srce.hr
| dave@fly.srk.fer.hr
Technical Details
Message-ID:
<slrn8ud1of.44l.dave@svarozic.srce.hr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!newscore.gigabell.net!newsfeed00.sul.t-online.de!t-online.de!newsfeeds.belnet.be!news.belnet.be!news-hub.siol.net!news1.hinet.hr!Iskon!daveReferences:
<slrn8uc4ns.119.dave@svarozic.srce.hr> <slrn8ucve8.5vd.davis@aluche.mit.edu>Show Full Headers
Complete Article Headers
Message-ID: <slrn8ud1of.44l.dave@svarozic.srce.hr>
Subject: Re: slrn, slang, etc.
Date: Fri, 13 Oct 2000 03:52:48 +0000
From: dave@srce.hr (Drazen Kacar)
References: <slrn8uc4ns.119.dave@svarozic.srce.hr> <slrn8ucve8.5vd.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!newscore.gigabell.net!newsfeed00.sul.t-online.de!t-online.de!newsfeeds.belnet.be!news.belnet.be!news-hub.siol.net!news1.hinet.hr!Iskon!dave
Newsgroups: news.software.readers
Organization: Δardak ni na nebu, ni na zemlji
Lines: 36
NNTP-Posting-Host: svarozic.srce.hr
X-Trace: sunce.iskon.hr 971409168 9228 161.53.2.157 (13 Oct 2000 03:52:48 GMT)
X-Complaints-To: abuse@iskon.hr
NNTP-Posting-Date: 13 Oct 2000 03:52:48 GMT
X-Face: 'UIE}WabGB0+U>p-#(hp<_+AD2{H],=qR*jHfm$/e]l0(kU3oOYc5lqG6gg>[\h^IOc{'siD6#!T&loIShgmYHz3#+*D38:|`~\BE,(W~Ol9BDfDwk'lKJ;Z{sY8E9(ME.E]'wvNO`$n#,;9Z`tOFcW/nHZq!BOSrM>V?C<5DTw=<$<xxB~RP@|-Co<|COgeVi1ozw_W>{c{M2V+|)0jSUl&!+8%8nIBF(u:E>SZWM^e
X-Attribution: Dave
Mail-Copies-To: never
X-No-Productlinks: yes
User-Agent: slrn/0.9.6.0 (SunOS)