you can't build multitarget MinGW using 32-bit OS

22 views
Skip to first unread message

anatoly techtonik

unread,
Mar 25, 2016, 8:24:16 AM3/25/16
to mingwpy
I am on 32-bit system, trying to build 32-bit toolchain and fetch
files with command
which fails with

-> Checking OS bitness... 32-bit
-> Checking OS type... MINGW32_NT-6.0
-> Checking for installed packages... done
you can
't build multitarget MinGW using 32-bit OS. terminate.

I traced it to
  https://github.com/niXman/mingw-builds/blob/master/build#L336

But it doesn't explain what's going on there. So why I can't build it?

carlkl

unread,
Mar 25, 2016, 8:44:42 AM3/25/16
to mingwpy
You have to build with the option --no-multilib.

Did you encounter this error messeage with the
--fetch-only command? If yes, then add the --no-multilib option to the command line.

anatoly techtonik

unread,
Mar 25, 2016, 10:32:48 AM3/25/16
to mingwpy
Yes, it is with --fetch-only. --no-multilib makes it pass, but should it be added into instruction for building 32-bit toolchain?

carlkl

unread,
Mar 25, 2016, 10:51:42 AM3/25/16
to mingwpy
Be aware, that the build can take hours with an older system. I will update the docu once its builds sucessfully on a 32 bit system.

anatoly techtonik

unread,
Mar 25, 2016, 12:28:32 PM3/25/16
to mingwpy
So far it still downloads the files.
Reply all
Reply to author
Forward
0 new messages