intel / fastuidraw

Mozilla Public License 2.0
609 stars 58 forks source link

How can I compile in 64bit? #67

Open MintPaw opened 3 years ago

MintPaw commented 3 years ago

Windows MSYS2

The static libs seem to be 32bit, I don't see an obvious way to change it, or any mention of x64 anywhere, but when trying to force a -m64 into the makefile I get "cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in".

What's going on? Is this not possible to compile in 64bit mode? Or is my environment messed up?

krogovin commented 2 years ago

I apologize for the horribly late reply, it has been a while since I've checked in on FastUIDraw.

Msys2 comes with three different jazzes to give one a shell:

To build Astral for 64-bit MS-windows, I always work in the Mingw64 shell. For building 32-bit, I always work in the Mingw32 shell. Note that one will need to install the various compilers and libraries for mingw64 (resp. mingw32). I never build Astral from an msys2 shell.