RejectedSoftware Forums

Sign up

Compile x86 exec from x64

Hi. My server is running 32-bit, and doesn't have enough memory for dmds heavy CTFE memory requirements.
Thus I want to compile from my laptop, which runs x64.

The problem is that vpm doesn't support this, and I had to manually change vpm.d to allow this.

My guess is others have also stumbled upon this. Should I add a github issue, or is it already a known issue?

Re: Compile x86 exec from x64

Am 20.01.2013 12:36, schrieb simendsjo:

Hi. My server is running 32-bit, and doesn't have enough memory for dmds heavy CTFE memory
requirements.
Thus I want to compile from my laptop, which runs x64.

The problem is that vpm doesn't support this, and I had to manually change vpm.d to allow this.

My guess is others have also stumbled upon this. Should I add a github issue, or is it already a
known issue?

Hi, I'm currently in the last phases to have https://github.com/rejectedsoftware/dub finished as a
replacement to vpm. It's a lot more powerful and does not imply a forced dependency to vibe.d. This
basically means that I would rather implement this directly there instead of for vpm, which is
supposed to get deprecated after a couple more releases. If this is just a small change, or you even
have something ready though, of course we can also still put it there.

What exactly is needed? Just a "-m32" flag or something else?