http://bugs.winehq.org/show_bug.cgi?id=34930 Bug #: 34930 Summary: Cygwin-compiled Hello World program couldn't display output Product: Wine Version: 1.7.6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: Nachanon_Vetjasit(a)hotmail.com Classification: Unclassified I've recently found that console-based C program (even a simplest one shown below) that's compiled with Cygwin x86 1.7.25 (GCC 4.7.3) failed to display output properly in WINE. /* hello.c */ #include <stdio.h> int main() { printf("Hello World\n"); return 0; }
From Cygwin shell under Microsoft Windows XP SP3:
cygwin$ gcc -Wall -o hello.exe hello.c Under Debian GNU/Linux 5.0 "Lenny" i386: (I copied both hello.exe and cygwin1.dll to my Debian partition) $ wine hello.exe fixme:ntdll:NtSetInformationToken unimplemented class 4 fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessSessionInformation fixme:ntdll:NtQueryVolumeInformationFile 0xc0: volume info not supported fixme:ntdll:NtQueryVolumeInformationFile 0xc0: faking attribute info fixme:ntdll:NtQueryVolumeInformationFile 0xc0: faking attribute info $ Apart from FIXMEs, there is no "Hello World" printed out. Attached file contains source code above, the executable and cygwin1.dll. WINE: 1.7.6 (source) on Debian GNU/Linux 5.0 "Lenny" i386 Cygwin: cygwin1.dll 1.7.25 (x86) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.