https://bugs.winehq.org/show_bug.cgi?id=40245
Bug ID: 40245 Summary: wineg++ fails to find winebuild in Wine's bindir Product: Wine Version: 1.9.4 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools Assignee: wine-bugs@winehq.org Reporter: jre.winesim@gmail.com Distribution: ---
Created attachment 53795 --> https://bugs.winehq.org/attachment.cgi?id=53795 Hello world test example
Hi
I've installed the Debian packages wine-devel and winedevel-dev (1.9.4~stretch amd64) from winehq.
wineg++ fails if I try to compile attached hello.c with: $ /opt/wine-devel/bin/wineg++ -v hello.c -o hello.exe -mwindows
Logfile wineg++.log attached. wineg++ doesn't find winebuild, which is installed in Wine's bindir.
It works if I install "winehq-devel", or add /opt/wine-devel/bin to PATH or export WINEBUILD="/opt/wine-devel/bin/winebuild".
I'd suggest for winegcc/wineg++ to look for winebuild like e.g. Wine does for the wineloader: use WINEBUILD, else look in Wine's bindir (as specified on configure), then in PATH, then in winegcc's path (and in a few other likely locations). Currently it seems to only use WINEBUILD, and else to look for winebuild in PATH.
Greets jre
https://bugs.winehq.org/show_bug.cgi?id=40245
Jens Reyer jre.winesim@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jre.winesim@gmail.com
--- Comment #1 from Jens Reyer jre.winesim@gmail.com --- Created attachment 53796 --> https://bugs.winehq.org/attachment.cgi?id=53796 Output of "/opt/wine-devel/bin/wineg++ -v hello.c -o hello.exe -mwindows"
https://bugs.winehq.org/show_bug.cgi?id=40245
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com, | |nerv@dawncrow.de
https://bugs.winehq.org/show_bug.cgi?id=40245
Jens Reyer jre.winesim@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=40246
https://bugs.winehq.org/show_bug.cgi?id=40245
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #2 from winetest@luukku.com --- I get this error.
ld: Relocatable linking with relocations from format elf32-i386 (hello.lqpn2x.o) to format elf64-x86-64 (hello.E3x9H3.o) is not supported winebuild: ld failed with status 1 winegcc: winebuild failed
I have no idea what it means.
wine 1.9.20-git. I just started winge++ (globally installed) with the same arguments.