Eric Poole
2006-Mar-15 06:02 UTC
[Wine] Wine and a simple text-mode program (Gimpel PC-Lint)
I am trying to run Gimpel's PC-Lint under Wine, and am running into trouble. It is a simple DOS text-mode program, nothing fancy, no graphics, uses stdin, stdout, and stderr. It is invoked thus: In the batch file LIN.BAT: wine Lint-nt +v -i"C:\Lint" "C:\Lint\std.lnt" File std.lnt is a list of optional parameters to Lint-nt that contains this: lnt\au-sm.lnt gnu.lnt options.lnt -si4 -sp4 -iC:\Lint\src C:\Lint\src where... lnt is a directory containing, among other things, au-sm.lnt au-sm.lnt, options.lnt, and gnu.lnt contain more config params for Lint-nt -si4 and -sp4 are some more config params for Lint-nt -iC:\Lint\src tells Lint-nt where to look for #include files C:\Lint\src is a subdirectory containing the C++ files to lint. Lint-nt.exe starts up and executes OK, until it gets to the "-iC:\Lint\src" and "C:\Lint\src" config params, whereupon it complains that it can't find that directory. The directory C:\Lint\src does in fact exist, in the expected place. This all runs fine in a DOS box on Windows XP with the exact same configurations. Any ideas what might be wrong?
kfs1@online.no
2006-Mar-15 07:02 UTC
[Wine] Wine and a simple text-mode program (Gimpel PC-Lint)
On Wed, 15 Mar 2006 01:58:48 +0100, Eric Poole <eric@rkt-tech.com> wrote:> > I am trying to run Gimpel's PC-Lint under Wine, and am running into > trouble. > > It is a simple DOS text-mode program, nothing fancy, no graphics, uses > stdin, stdout, and stderr. > > It is invoked thus: > > In the batch file LIN.BAT: > > wine Lint-nt +v -i"C:\Lint" "C:\Lint\std.lnt" > > File std.lnt is a list of optional parameters to Lint-nt that contains > this: > > lnt\au-sm.lnt > gnu.lnt > options.lnt -si4 -sp4 > -iC:\Lint\src > C:\Lint\src > > where... > lnt is a directory containing, among other things, au-sm.lnt > au-sm.lnt, options.lnt, and gnu.lnt contain more > config params for Lint-nt > -si4 and -sp4 are some more config params for Lint-nt > -iC:\Lint\src tells Lint-nt where to look for #include files > C:\Lint\src is a subdirectory containing the C++ files to lint. > > Lint-nt.exe starts up and executes OK, until it gets to the > "-iC:\Lint\src" and "C:\Lint\src" config params, whereupon it complains > that it can't find that directory. > > The directory C:\Lint\src does in fact exist, in the expected place. > > This all runs fine in a DOS box on Windows XP with the exact same > configurations. > > Any ideas what might be wrong? >i didn't fine-read the post but when i saw DOS text-mode, i immediatly thought of dosbox: http://dosbox.sourceforge.net/ Maye this can help?
Uwe Bonnes
2006-Mar-15 13:33 UTC
[Wine] Wine and a simple text-mode program (Gimpel PC-Lint)
>>>>> "Eric" == Eric Poole <eric@rkt-tech.com> writes:Eric> I am trying to run Gimpel's PC-Lint under Wine, and am running Eric> into trouble. Eric> It is a simple DOS text-mode program, nothing fancy, no graphics, Eric> uses stdin, stdout, and stderr. Eric> It is invoked thus: Eric> In the batch file LIN.BAT: Eric> wine Lint-nt +v -i"C:\Lint" "C:\Lint\std.lnt" Try "double backslash" like wine Lint-nt +v -i"C:\\Lint" "C:\\Lint\\std.lnt" or use the normal slash like wine Lint-nt +v -i"C:/Lint" "C:/Lint/std.lnt" -- Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------