Article View: news.software.readers
Article #147848Re: [slrn] Compile - using Cygwin - for Windows
From: Frank Slootweg
Date: Sat, 08 May 2004 21:06
Date: Sat, 08 May 2004 21:06
42 lines
3429 bytes
3429 bytes
Alejandro Lรณpez-Valencia <me@privacy.net> wrote: > On 2004-05-08, Lars Stokholm wrote in > <slrnc9q9i1.1jo.lars@stokholm.dyndns.dk>: >> I'm fairly new to all this compiling-stuff, but I would like to >> try to compile slrn for Windows. I thought the easiest way to do >> this would be using Cygwin. Is there a better or easier way? >> >> I managed to compile, strip and run it, but it only runs from >> within Cygwin. How do I compile it, so it will be completely >> independent of Cygwin, and run on any given Windows PC? Is there >> an argument I should give to 'configure' or something like that? > > First, let's set some term meanings straight. :-) > > Cygwin is a POSIX/SUSv3 API runtime library that allows running under the > Win32 API, software written for the POSIX/SUSv3 runtime. If you want to > a native Win32 slrn binary, the rules of the game change, a lot. By > runnin slrn under cygwin, you have access to all the Unixy tools you may > have installed under that enviroment as well. > > If you want to compile a win32 version of slrn on your own, you need to > use a Win32 compiler. The freely available ones I can recall from the > top of my head are Mingw gcc, Borland's 5.5.1 CLI tools, RSXNT, > OpenWatcom and Microsoft's Visual C++ 2003 CLI compiler (a.k.a VC 7.1). > (DJGPP is *not* a native win32 compiler). Hi Alejandro, nice to 'meet' you again in a different place! :-) Of course you are right, but Cygwin is really just one DLL and the (slrn) executable will probably need a few other Cygwin related DLLs and probably a terminfo entry, but that is probably about it. So if the OP is willing to accept a small set of files instead just a single exectable, it is probably doable with Cygwin. I do a similar thing for tin. Finding out *which* files are needed is a little work, but if you start with just the executable and run that, it will probably give you error messages which point you to the missing files. I.e. run slrn, get error message, determine missing file, add missing file, run slrn again, get new/different error message, determine second missing file, add second missing file, run slrn again, ... etc. until you no longer get any error messages. [deleted]
Technical Details
Message-ID:
<409d4be2$0$72189$abc4f4c3@news.wanadoo.nl>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!amsnews01.chello.com!news2.euro.net!postnews1.euro.net!news.wanadoo.nl!not-for-mailReferences:
<slrnc9q9i1.1jo.lars@stokholm.dyndns.dk> <2g4qu6F4g0jdU1@uni-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <409d4be2$0$72189$abc4f4c3@news.wanadoo.nl>
Subject: Re: [slrn] Compile - using Cygwin - for Windows
Date: Sat, 08 May 2004 21:06:42 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <slrnc9q9i1.1jo.lars@stokholm.dyndns.dk> <2g4qu6F4g0jdU1@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!amsnews01.chello.com!news2.euro.net!postnews1.euro.net!news.wanadoo.nl!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX)
(CYGWIN_NT-5.1/1.5.9(0.112/4/2) (i686)) Hamster/2.0.0.1
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 42
NNTP-Posting-Date: 08 May 2004 21:06:42 GMT
NNTP-Posting-Host: c5147453f.cable.wanadoo.nl
X-Trace: 1084050402 flip.euronet.nl 72189 81.71.69.63:64633
X-Complaints-To: abuse@wanadoo.nl