Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multilib #23

Closed
dsimcha opened this issue Nov 13, 2011 · 1 comment
Closed

Multilib #23

dsimcha opened this issue Nov 13, 2011 · 1 comment

Comments

@dsimcha
Copy link

dsimcha commented Nov 13, 2011

As far as I can tell, there's no multiarch/multilib build option that compiles Phobos and druntime as both 32- and 64-bit and installs them in the proper paths based on this designation. In DMD, the binaries ship with both 32- and 64-bit Phobos/druntime pre-built. When building GDC, both are built automatically if --enable-multilib is used. I want to be able to do something like:

ldc2 hello.d  # Default, 64-bit on 64-bit machine
ldc2 hello.d -m32  # 32-bit, automatically links w/ 32-bit Phobos and druntime
dnadlinger pushed a commit to dnadlinger/ldc that referenced this issue Dec 4, 2011
…on to cmake script and fixed 'make install'
@AlexeyProkhin
Copy link
Member

A new cmake option has been added: MULTILIB. If it is enabled, both 32-bit and 64-bit runtime libraries will be built.

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

No branches or pull requests

2 participants