Article View: news.software.readers
Article #244051Re: OT: slrn for 64-bit Linux
From: Tim Harig
Date: Mon, 27 Dec 2010 07:41
Date: Mon, 27 Dec 2010 07:41
57 lines
3538 bytes
3538 bytes
On 2010-12-26, rj <rj@panix.com.invalid> wrote: > I'm running 64-bit Ubuntu. My User-Agent header line: > > User-Agent: slrn/pre1.0.0-26 (Linux) > > makes no reference to "64bit", as yours does. Nor does it specify my > Ubuntu distro and version as yours does. What does the "/co" mean? > > Is there either a particular way to compile slrn for 64-bit architecture, > or a specific 64-bit slrn I should download? Is this because you are afraid that your version isn't compiled as 64 bit or because you just want your version string to read 64 bit? If the former, it is already 64bit if you are on a 64bit platform. If you have a dual library setup for 64 and 32, then check which libraries it is linked against: - 32bit$ ldd /usr/bin/slrn - linux-gate.so.1 => (0xffffe000) - libslang.so.2 => /usr/lib/libslang.so.2 (0xb77ab000) - libssl.so.0 => /lib/libssl.so.0 (0xb7763000) - libcrypto.so.0 => /lib/libcrypto.so.0 (0xb761a000) - libc.so.6 => /lib/libc.so.6 (0xb74b7000) - libdl.so.2 => /lib/libdl.so.2 (0xb74b2000) - libm.so.6 => /lib/libm.so.6 (0xb748c000) - /lib/ld-linux.so.2 (0xb78bd000) vs: - 64Bit$ ldd /usr/bin/slrn - linux-vdso.so.1 => (0x00007fff27fff000) - libslang.so.2 => /usr/lib64/libslang.so.2 (0x00007f698f5cc000) - libssl.so.0 => /usr/lib64/libssl.so.0 (0x00007f698f37a000) - libcrypto.so.0 => /usr/lib64/libcrypto.so.0 (0x00007f698eff4000) - libc.so.6 => /lib64/libc.so.6 (0x00007f698ec7f000) - libdl.so.2 => /lib64/libdl.so.2 (0x00007f698ea7b000) - libm.so.6 => /lib64/libm.so.6 (0x00007f698e7f8000) - /lib64/ld-linux-x86-64.so.2 (0x00007f698f931000) If you just want to advertise that you are using 64bit, then you change the version string version.h in the slrn source to whatever you like and recompile: - #define SLRN_VERSION_STRING "0.9.9" - #define SLRN_VERSION 990 - - #ifndef SLRNPULL_CODE - extern char *Slrn_Version_String; - extern int Slrn_Version; - extern char *slrn_get_os_name (void); - extern void slrn_show_version (FILE *); - #endif Or, you can change whatever defines utsname.sysname for uname() so that it will be present in all programs which add that to their version strings; which slrn does in version.c.
Technical Details
Message-ID:
<if9fut$vl6$1@speranza.aioe.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mailReferences:
<slrnig6i41.k2g.unruh@wormhole.physics.ubc.ca> <idvijq$2hi$1@n102.xanadu-bbs.net> <slrn20101211110603.301.twooffive@may.eternal-september.org> <if8eh8$s3o$1@reader1.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <if9fut$vl6$1@speranza.aioe.org> Subject: Re: OT: slrn for 64-bit Linux Date: Mon, 27 Dec 2010 07:41:18 +0000 From: Tim Harig <usernet@ilthio.net> References: <slrnig6i41.k2g.unruh@wormhole.physics.ubc.ca> <idvijq$2hi$1@n102.xanadu-bbs.net> <slrn20101211110603.301.twooffive@may.eternal-september.org> <if8eh8$s3o$1@reader1.panix.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail Newsgroups: news.software.readers Organization: Aioe.org NNTP Server Lines: 57 NNTP-Posting-Host: LeOnFqJV5kOv6kvu1/c+Gg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: slrn/0.9.9p1 (Linux) X-Original-Bytes: 3280