Article View: news.software.readers
Article #38664Re: slrn 0.9.4.6 available
From: ro...
Date: Thu, 12 Feb 1998 00:00
Date: Thu, 12 Feb 1998 00:00
69 lines
3458 bytes
3458 bytes
>
>Changes since 0.9.5.5
>1. uudecode bug fixed.
>2. VMS specific NETLIB update of clientlib.c.
>3. Explicitly added the GNU copyright to source code files.
>4. Updated to use slang 1.0.3. For Win32 users this means you can
> use bright background colors and the mouse.
>5. For CYGWIN32 and MINGW32 compilers, use src/Makefile.g32. Do NOT
> use the Unix configure script because WIN32 is NOT Unix. (Note:
> gcc in the CYGWIN32 distribution (b18) kept getting signal 33, so I
> could not compile slrn with it. However, I had no problems with
> MINGW32.)
>6. Autoconf now checks for socket.h (Marius Groeger <m...@sysgo.de>).
>
I got slrn.exe to compile under egcs/cygwin using your Win32 makefiles,
with one or two small changes:
In sltcp.c:
#if defined(__NT__)
# include <winsock.h>
# define USE_WINSOCK_SLTCP 1
#else
# if defined(__MINGW32__) || defined(__CYGWIN32__)
# define Win32_Winsock
# include <windows.h>
# define USE_WINSOCK_SLTCP 1
# endif
#endif
The second change was a bugfix found at the egcs site, that gives funny
collect error messages under both egcs cygwin and egcs mingw32.
=========================================================================
Potential pitfalls you should watch out for
Please see the FAQ before you go on, especially for the various
terms/shortcuts I use here (eg., what is CPATH?).
Now onto the potential pitfalls:
* collect2/ld problem: There is a bug in path handling of collect2
(which is installed as ld.exe in the compiler library directory)
that causes it to invoke itself instead of the GNU ld in the
binary directory. The workaround is to copy the GNU ld to a file
called collect-ld.exe in the directory where cc1.exe lives. You
can find the full path to where cc1.exe lives with the following
command:
% gcc -print-prog-name=cc1
Copy collect-ld.exe to that directory.
The other solution, which is what I recommend now, is to simply
delete (or rename) the ld.exe file the CPATH directory (ie., the
compiler directory. See the FAQ for what CPATH stands for). The
only thing you lose is the -frepo option for C++, but that's
really not needed now that GNU linker discards duplicate
templates.
==========================================================================
This is posted from the previous version of slrn.exe using slangw321.0.2.
The reason for this is that the current version going straightarrow with
your sources only, doesn't give notepad.exe the right file path. When
invoked as the slrn.exe editor, notepad.exe complains about not finding
the file roottempxxx, which should be \root\tempxxx.
I'll see if I can find the glitch.
Technical Details
Message-ID:
<34e33aae.0@news3.ibm.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mailReferences:
<slrn6e3r8b.eph.davis@aluche.mit.edu>Show Full Headers
Complete Article Headers
Message-ID: <34e33aae.0@news3.ibm.net> Subject: Re: slrn 0.9.4.6 available Date: Thu, 12 Feb 1998 00:00:00 +0000 From: ro...@ibm.net () References: <slrn6e3r8b.eph.davis@aluche.mit.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail X-Deja-AN: 324497997 Reply-To: vischne@ibm.net-nospam Organization: The Light Newsgroups: news.software.readers,comp.os.linux.misc,alt.lang.s-lang