I used this command to initiate the build after cloning the mxe git:
make gcc MXE_TARGETS=x86_64-w64-mingw32.static
It ran smoothly, until it hit this error:
[build] gcc x86_64-w64-mingw32.staticFailed to build package gcc for target x86_64-w64-mingw32.static!------------------------------------------------------------make[3]: *** Waiting for unfinished jobs....make[3]: *** [lto-dump] Error 1make[3]: *** [f951] Error 1rm gfortran.pod gcc.podmake[2]: *** [all-gcc] Error 2make[1]: *** [build-only-gcc_x86_64-w64-mingw32.static] Error 2real 1m53.069suser 1m54.982ssys 1m14.915s------------------------------------------------------------[log] /Users/[user]/mxe/log/gcc_x86_64-w64-mingw32.staticmake: *** [/Users/[user]/mxe/usr/x86_64-w64-mingw32.static/installed/gcc] Error 1
I disregarded the error and ran the make
command again, and then it gave me this error:
[build] gcc x86_64-w64-mingw32.staticFailed to build package gcc for target x86_64-w64-mingw32.static!------------------------------------------------------------config.status: executing default commandsconfig.status: creating Makefileconfig.status: creating testsuite/Makefileconfig.status: creating config.hconfig.status: executing default commandsmake[1]: *** [build-only-gcc_x86_64-w64-mingw32.static] Error 2real 0m52.300suser 0m35.289ssys 0m35.757s------------------------------------------------------------[log] /Users/[user]/mxe/log/gcc_x86_64-w64-mingw32.staticmake: *** [/Users/[user]/mxe/usr/x86_64-w64-mingw32.static/installed/gcc] Error 1
I've tried running make clear
and restarting the terminal, but to no avail.