Code: Select all
../wine-source/configure --without-x --without-freetype --host=i586-mingw32msvc CFLAGS="-O2 -DWINE_NOWINSOCK -DUSE_WIN32_OPENGL" --with-wine-tools=../wine-tools/ LDFLAGS=" -static-libgcc"
make dlls/wined3d dlls/d3d8
It's strange since the same setup works perfectly on a 64-bit distribution. I've tested this under Ubuntu 16.14, Debian 9 and CentOS 6 with no luck at all, always the same error./usr/bin/ld:../../../wine-source/libs/wine/wine.def: file format not recognized; treating as linker script
/usr/bin/ld:../../../wine-source/libs/wine/wine.def:1: syntax error
collect2: error: ld returned 1 exit status
Makefile:375: recipe for target 'libwine.dll' failed
make[1]: *** [libwine.dll] Error 1
make[1]: Leaving directory '/home/francisco/Downloads/wine-win32/libs/wine'
Makefile recipe for target 'libs/wine' failed
make: *** [libs/wine] Error 2
Wine make failed with error 0
I guess this might be related to mingw-w64 somewhat but I just don't get it. Any ideas?
Thanks in advance.