[Mono-list] beta2 works with wine
Petru Paler
ppetru@ppetru.net
Thu, 27 Sep 2001 12:16:01 +0300
Hello everyone,
I just compiled and run a "hello, world" C# application under Linux, using
wine and MS's beta2 .NET SDK. It's quite slow (probably because having to
load a bunch of dlls each time) but I'm very happy that I don't have to do
development under Windows.
For those wanting to try this: I'm using Wine 20010824 (as packaged in
Debian/unstable) and I have Win2k installed on a separate partition. The
winesetup program found the win2k mount directory (/win, in my case) and
configured wine to use the native DLLs and registry. I had to change the
Path directive in the config file to this:
"Path" =
"C:\\winnt;C:\\winnt\\system;C:\\winnt\\system32;C:\\winnt\\Microsoft.NET\\
Framework\\v1.0.2914;X:\\;Y:\\"
(note the .NET stuff) so I could have csc.exe in the path.
Anyway, here's how running hello world looks like:
ppetru@shiva:~/projects/dotnet$ ls -l hello.exe
-rwxr-xr-x 1 ppetru ppetru 3072 Sep 27 12:06 hello.exe
ppetru@shiva:~/projects/dotnet$ file hello.exe
hello.exe: MS Windows PE 32-bit Intel 80386 console executable
ppetru@shiva:~/projects/dotnet$ wine hello
fixme:win32:PE_CreateModule Unknown directory 14 ignored
fixme:console:SetConsoleCtrlHandler (0x60b14fdb,1) - no error checking or
testing yet
fixme:win32:PE_CreateModule Unknown directory 14 ignored
err:shell:SHGetSpecialFolderPathA folder unknown or not allowed
err:shell:SHGetSpecialFolderPathA Failed to create directory
'C:\WINDOWS\Application Data'.
err:shell:SHGetSpecialFolderPathA Failed to create directory
'C:\WINDOWS\Application Data'.
fixme:win32:PE_CreateModule Unknown directory 14 ignored
fixme:win32:CreateIoCompletionPort (ffffffff, 0000, 00000000, 00000000):
stub.
fixme:win32:PE_CreateModule Unknown directory 14 ignored
fixme:win32:PE_CreateModule Unknown directory 14 ignored
Hello, world!
fixme:win32:PE_CreateModule Unknown directory 14 ignored
Wine exited with a successful status
Petru