[Bug 47025] New: wine cannot run exe created with winegcc: "Bad EXE Format "
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Apr 15 23:14:58 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=47025
Bug ID: 47025
Summary: wine cannot run exe created with winegcc: "Bad EXE
Format"
Product: Wine
Version: 4.6
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: jeffersoncarpenter2 at gmail.com
Distribution: ---
Full steps to reproduce from cloning the Wine source tree:
$ git clone git://source.winehq.org/git/wine.git
$ mkdir wine64_build
$ cd wine64_build
$ ../wine/configure --enable-win64
$ make
$ cd ..
$ mkdir test_program
$ cd test_program
$ echo 'int main() { return 0; }' > main.c
$ PATH="$PATH:../wine64_build/tools/winebuild/"
/home/rofl/wine64-build-debug/tools/winegcc/winegcc
-L/home/rofl/wine64-build-debug/dlls/advapi32
-L/home/rofl/wine64-build-debug/dlls/user32
-L/home/rofl/wine64-build-debug/dlls/ntdll/
-L/home/rofl/wine64-build-debug/dlls/winecrt0
-L/home/rofl/wine64-build-debug/dlls/kernel32
-L/home/rofl/wine64-build-debug/libs/wine/ main.c -o main
$ ../wine64_build/wine64 ./main.exe
On my machine, the last command outputs
wine: Bad EXE format for Z:\home\rofl\test_program\main.exe.
Is this expected behavior meaning I'm using winegcc incorrectly, or is this a
bug?
--
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.
More information about the wine-bugs
mailing list