[D-runtime] druntime and 64-bit build

Brad Roberts braddr at puremagic.com
Sun Feb 13 22:25:24 PST 2011


On 2/13/2011 10:12 PM, Jonathan M Davis wrote:
> Is the druntime posix.mak makefile not set up for a 64-bit build? I can't figure 
> out how to make it build a 64-bit version, and it doesn't seem to have a lib32 
> and lib64 directory or anything similar.
> 
> Looking at Phobos' posix.mak makefile, it looks like you build with MODEL=64, and 
> it will do the 64-bit build and put the library in generated/linux/debug/64 
> instead of generated/linux/debug/32 ( or generated/release/... for release). But 
> if druntime isn't built as 64-bit, then I don't see as how you could build 
> Phobos that way. druntime is obviously being built and run as 64-bit on the 
> autotester, but I haven't a clue how.
> 
> What do I need to do to build druntime as 64-bit, and do the makefiles need 
> updating?
> 
> - Jonathan M Davis

Same as for phobos, just that it doesn't output two libs yet -- no one has bothered to alter the makefiles yet.
MODEL=64 or MODEL=32



More information about the D-runtime mailing list