Putty: Winelib support (take 2)

Dimitrie O. Paun dpaun at rogers.com
Tue Dec 31 02:33:10 CST 2002


On December 18, 2002 04:59 am, Simon Tatham wrote:
> That said, I also agree your revised patch is a huge amount better
> by comparison! So if you'd rather I wait until that's ready, I'm
> fine with that too.

Hi Simon,

I've managed to cleanup my changes. Currently only this 3-line patch
is required to compile putty under Winelib. The way it works is that
you simply uncomment 2 (two) lines in the Makefile.cyg file, and do
the usual:
  make -f Makefile.cyg
to compile under Wine. This has the advantage that you don't need to
maintain a Wine-only Makefile that is quite likely to get bitrotten
sooner rather than later.

Please let me know if you need any other changes.

Happy New Year!


Index: mkfiles.pl
===================================================================
RCS file: /home/cvs/putty/mkfiles.pl,v
retrieving revision 1.38
diff -u -r1.38 mkfiles.pl
--- mkfiles.pl  30 Dec 2002 23:14:11 -0000      1.38
+++ mkfiles.pl  31 Dec 2002 09:31:29 -0000
@@ -293,6 +293,9 @@
 "# TOOLPATH = /pkg/mingw32msvc/i386-mingw32msvc/bin/\n".
 "CC = \$(TOOLPATH)gcc\n".
 "RC = \$(TOOLPATH)windres\n".
+"# Uncomment the following two lines to compile under Winelib\n".
+"# CC = winegcc\n".
+"# RC = wrc\n".
 "# You may also need to tell windres where to find include files:\n".
 "# RCINC = --include-dir c:\\cygwin\\include\\\n".
 "\n".

-- 
Dimi.




More information about the wine-devel mailing list