Skip to content

Multilib #23

@dsimcha

Description

@dsimcha

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions