Author: Frank Schneider
Date: 05:08:10 11/11/98
Go up one level in this thread
On November 11, 1998 at 06:32:54, Roberto Waldteufel wrote: > >On November 11, 1998 at 02:47:21, Frank Schneider wrote: < most of the old message left out> >>b) There are Linux projects that try to offer the Windows32-api on Linux (Wine). >> *IF* they become better porting a program to Linux would become easier. >> About a year ago I tried to run Gromit1.2 under Linux (using a early >> version of Wine) and it worked. Not perfectly, but one could play chess. >Hi Frank, > >Option (b) comes as something of a revelation to me! Do you suppose that 32-bit >Windows Console Applications (ie "DOS box" programs with text-only screen) would >run readily under linux using this technique? If your program is a console program that doesn't open any windows itself dosemu should be an option (see Ernst's message). I have no experience using it, but it is said to be quiet good. I've heard some commercial DOS-programs can be used in DOSEMU (was it here or in ccc???). >I ask because my program is >precisely that, a console application. Although it is compiled as a 32-bit >Windows application, it uses no fancy graphics, no mouse support, and runs in >full screen mode (ie no window) with a 50 line x 80 character display. Strangely >enough, I manage to display a reasonable chess diagram in this restricted medium >(not as good as Gromit's nice GUI though). I would hope that this would make my >program an ideal application for WINE, since it uses only a simple subset of the >Windows API, only requiring the API for screen, keyboard and file I/O. Wine is more like an emulator and costs some performace (Gromit1.2 ran at roughly 70% of the original speed). However, Wine or dosemu could be two possibilities to run your program under Linux. > >I wrote the program with PBCC, which is specifically a console compiler for >32-bit Windows. The compiler manufacturers are intending to develop a version of >the same compiler for linux, but I have no idea how long this will take. I think dosemu or Wine would only help you, if your compiler could be used under Linux. But if you start using Linux, why not use gcc/g++ as a compiler? > My >general dissatisfaction with Windows has lead me to await the arrival of a >linnux version of the compiler with considerable interest, but I have held off >trying linnux so far because I thought that niether my program nor my compiler >could run without the Windows API. If I was mistaken in this impression, I think >I would like to give linnux a try without waiting for the linux version of the >compiler. I hear linux is very stable :-) From my point of view it is. I started using Linux (2.0.18) in 1995 and till now I had not a single crash (tock tock tock.. ;-) I also use Win95 (and used Win3.1, OS/2, Win NT) and I had many crashes, some causing loss of data. >I only have to look sideways at >Windows95 and it crashes.....:-( > >Best wishes, >Roberto Suggestion: try to install the Cygnus development kit (free from http://www.cygnus.com) which offers GNU-tools under windows. If you can port your program to gcc/g++ under windows/cygnus, compiling it under Linux should be trivial. Good luck, Frank
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.