I am trying to compile the 32 bit version of wine on mac. When I do
./configure --with-wine64=../wine64
I get the error "Cannot build a 32-bit program, you need to install 32-bit development libraries.".
I think this is because xcode stopped supporting 32 bit libraries (I have version 10). When I do which gcc
I get /usr/bin/gcc
, therefore I think my gcc is came with xcode.
I also installed gcc using brew install gcc
, but when I do ls /usr/local/bin/ | grep gcc
I get
gcc-8
gcc-ar-8
gcc-nm-8
gcc-ranlib-8
x86_64-apple-darwin17.7.0-gcc-8
x86_64-apple-darwin17.7.0-gcc-8.2.0
x86_64-apple-darwin17.7.0-gcc-ar-8
x86_64-apple-darwin17.7.0-gcc-nm-8
x86_64-apple-darwin17.7.0-gcc-ranlib-8
so I thought I could install a gcc with libraries related with 32 bit support and compile wine like that. But now when I do ./configure CC="gcc-8" --with-wine64=../wine64
, I get
checking whether we are cross compiling... configure: error:
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
How can I find a workaround to compile 32 bit wine (version 3.21)