www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Visual-D with dmd 64bit and MSVC linker

reply "Arjan" <arjan ask.me.to> writes:
Hi,

I just managed to build a 64bits dmd.exe druntime and phobos on 
windows (using vs2008). Now I wanted to use the Visual-D plugin 
to build 64bits D applications but it seems not possible?

I can not figure out how to get linking stage to work with the 
MSVC toolchain linker.

Commandline compiling and linking works OK.

Any hints?
Sep 23 2013
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 23.09.2013 16:05, Arjan wrote:
 Hi,

 I just managed to build a 64bits dmd.exe druntime and phobos on windows
 (using vs2008). Now I wanted to use the Visual-D plugin to build 64bits
 D applications but it seems not possible?

 I can not figure out how to get linking stage to work with the MSVC
 toolchain linker.

 Commandline compiling and linking works OK.

 Any hints?
I'm not sure at which stage it is failing for you, but here's a guess: If you are starting with one of the project templates you may need to add a new platform "x64" in the configuration manager.
Sep 23 2013
parent "Arjan" <arjan ask.me.to> writes:
On Tuesday, 24 September 2013 at 05:41:36 UTC, Rainer Schuetze 
wrote:
 On 23.09.2013 16:05, Arjan wrote:
 Hi,

 I just managed to build a 64bits dmd.exe druntime and phobos 
 on windows
 (using vs2008). Now I wanted to use the Visual-D plugin to 
 build 64bits
 D applications but it seems not possible?

 I can not figure out how to get linking stage to work with the 
 MSVC
 toolchain linker.

 Commandline compiling and linking works OK.

 Any hints?
I'm not sure at which stage it is failing for you, but here's a guess: If you are starting with one of the project templates you may need to add a new platform "x64" in the configuration manager.
Indeed using an other template made 64bits version work. Thanx
Sep 24 2013