[dmd-internals] [D-Programming-Language/dmd] fb8947: make -m64 the default for 64 bit dmd

Walter Bright walter at digitalmars.com
Sat Apr 30 14:51:54 PDT 2011


I think forcing -m32 for Windows files is the right approach. We don't have 64 
bit Windows support.

On 4/30/2011 2:26 PM, Brad Roberts wrote:
> Looks like this triggers a 'bug' while building 64 bit output:
>
> > From http://d.puremagic.com/test-results/test_data.ghtml?dataid=59151
>
> ../dmd/src/dmd -m64 -c -d -o- -Isrc -Iimport -Hfimport/core/sys/windows/stacktrace.di src/core/sys/windows/stacktrace.d
> src/core/sys/windows/stacktrace.d(302): Error: cannot implicitly convert expression (symbolSize) of type ulong to uint
>
>
> This happens for both Linux 32/64 and Linux 64/64.
>
> It triggered for Linux 64/32 as well, but I fixed it with adding -m$(MODEL) to the make file to at least get the forced
> -m32 part through to that part of compilation.
>
> I see a few options:
>    1) disable .di generation for the windows files
>    2) force -m32 for the windows files
>    3) change the windows files to be 32/64 clean.
>    4) other options?
>
> Later,
> Brad


More information about the dmd-internals mailing list