Maybe you forgot to clean up the object files from the
win64/win32-dmc build?
This is extracted from my build batch:
set dm_make=c:\l\dmc\bin\make
set DMD=../windows/bin/dmd.exe
set cl32=%VCINSTALLDIR%/bin/cl.exe
set ar32=%VCINSTALLDIR%/bin/lib.exe
cd druntime
del /q errno_c.obj complex.obj
On 12.11.2014 01:25, FrankLike wrote:
You have to compile druntime and phobos with the x86 compiler aswell.
Otherwise the C files in the library are built for the wrong
architecture.
So you should be fine if you use x86 intead of amd64 in the line
above.
I suspect you are compiling the druntime/phobos library with
the 64-bit VC compiler. Make sure cl.exe is the compiler
targeting 32-bit when running make -fwin64.mak
MODEL=m32mscoff.
I've done it as you said:compiling the druntime/phobos library
with the 64-bit VC compiler.and cl.exe is the
On 11.11.2014 14:46, FrankLike wrote:
I suspect you are compiling the druntime/phobos library with the
64-bit VC compiler. Make sure cl.exe is the compiler targeting 32-bit
when running make -fwin64.mak MODEL=m32mscoff.
I've done it as you said:compiling the druntime/phobos library with the
You have to compile druntime and phobos with the x86 compiler
aswell. Otherwise the C files in the library are built for the
wrong architecture.
So you should be fine if you use x86 intead of amd64 in the
line above.
Sorry,get the same error.
It's -m32mscoff, but yeah, that's all you need to use with
dmd.
You'll also need to recompile druntime and phobos, which I
believe can be done for both with the following command:
make -fwin64.mak MODEL=32mscoff
win64.mak has the configuration to pull in MSVC and you need to
specify the
make -fwin64.mak MODEL=32mscoff
win64.mak has the configuration to pull in MSVC and you need to
specify the model so that it compiles for 32-bit. Of course,
this is only available in git HEAD, not in the stable release
yet. You can find info about building from source on Windows
here:
On 10.11.2014 17:03, FrankLike wrote:
It's -m32mscoff, but yeah, that's all you need to use with dmd.
You'll also need to recompile druntime and phobos, which I believe
can be done for both with the following command:
make -fwin64.mak MODEL=32mscoff
win64.mak has the configuration to pull
Is it possible in new verson, offer 32 bit COFF druntime and
phobos lib?
Because it's hard to me to compile for myself.
On Sunday, 9 November 2014 at 05:21:06 UTC, Joakim wrote:
On Sunday, 9 November 2014 at 03:44:00 UTC, FrankLike wrote:
X86 COFF format static libraries is very important for
X86 COFF format static libraries is very important for d,such as
the x86 server, x86 small devices, and how to use them?
Most of x86 COFF format static libraries are built by c.
dmd -ms32coff ?
On Sunday, 9 November 2014 at 03:44:00 UTC, FrankLike wrote:
X86 COFF format static libraries is very important for d,such
as the x86 server, x86 small devices, and how to use them?
Most of x86 COFF format static libraries are built by c.
dmd -ms32coff ?
It's -m32mscoff, but yeah, that's
11 matches
Mail list logo