🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #147859

Re: [slrn] Compile - using Cygwin - for Windows

#147859
From: Alejandro López-Valencia
Date: Sat, 08 May 2004 23:31
43 lines
2722 bytes
On 2004-05-08, Lars Stokholm wrote in <slrnc9qjfk.tk.lars@stokholm.dyndns.dk>:
> * Lars Stokholm wrote:
>> What should I do with 'Makefile' now?
>
> Never mind, I downloaded MinGW which had a mingw32-make.exe.

Don't forget to download the binutils and the w32api runtime. Probably
you will be more comfortable using the MSYS environment (which is a very
watered down runtime to be able to use the GNU tools with bash, and BTW,
the rxvt emulation does a very nice console for slrn :-).

This is how I compile a Win32 native slrn with Cygwin:

1. Unpack the s-lang tarball and the slrn tarball in the same parent
directory. 

2. Go to the src/mkfiles binutils in the s-lang tree, type

	./mkmake WIN32 CYG32 < makefile.all > ../Makefile

3. Move to the parent directory and edit Makefile:
	a. Add -mno-cygwin flag to the CC line.
	b. Remove  -fno-strength-reduce from the CFLAGS.

4. Save and make.

5. Change directory to src in the slrn tree.

6. Edit Makefile.g32
	a. Add -mno-cygwin to the CC line.
	b. Edit SDIR and SLIBDIR to point the correct directories 
	   in the s-lang tree.

7. Save and type "make -f Makefile.g32 all"

8. Copy slrn.exe, slrnpull.exe and uudecode.exe whereever you want it.

-- 
Alejandro López-Valencia
qenqhy ng rgo qbg arg qbg pb
http://dradul.tripod.com/
The limits of my language are the limits of my world.
                                    (L. Wittgenstein)
Technical Details
Message-ID: <2g58udF4j94lU3@uni-berlin.de>
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!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!not-for-mail
References: <slrnc9q9i1.1jo.lars@stokholm.dyndns.dk> <2g4qu6F4g0jdU1@uni-berlin.de> <slrnc9qf3i.1h0.lars@stokholm.dyndns.dk> <slrnc9qg3g.1ao.lars@stokholm.dyndns.dk> <slrnc9qjfk.tk.lars@stokholm.dyndns.dk>

Show Full Headers
Complete Article Headers
Message-ID: <2g58udF4j94lU3@uni-berlin.de>
Subject: Re: [slrn] Compile - using Cygwin - for Windows
Date: Sat, 08 May 2004 23:31:25 +0000
From: Alejandro López-Valencia <me@privacy.net>
References: <slrnc9q9i1.1jo.lars@stokholm.dyndns.dk> <2g4qu6F4g0jdU1@uni-berlin.de> <slrnc9qf3i.1h0.lars@stokholm.dyndns.dk> <slrnc9qg3g.1ao.lars@stokholm.dyndns.dk> <slrnc9qjfk.tk.lars@stokholm.dyndns.dk>
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!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: Individual.net, usenet for the rest of us.
Lines: 43
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Complaints-To: http://news.individual.net/abuse.html
X-Trace: news.uni-berlin.de Jx+6oQRQee8Fnv3Si1EAWwQoTZi9lJ1k5QwOpaOPkG3FbMN78=
Mail-Copies-To: nobody
User-Agent: slrn/0.9.8.0-jwk4 (CYGWIN_NT-5.0)