Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

How can I compile in 64bit? #67

Open
MintPaw opened this issue Nov 2, 2021 · 1 comment
Open

How can I compile in 64bit? #67

MintPaw opened this issue Nov 2, 2021 · 1 comment

Comments

@MintPaw
Copy link

MintPaw commented Nov 2, 2021

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
Copy link
Contributor

krogovin commented Jan 5, 2022

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:

  • msys2 shell
  • mingw32 shell
  • mingw64 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants