<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I'm having problems building on win7x64. Anyone ever encountered
this issue and know a fix?<br>
<br>
<a class="moz-txt-link-freetext" href="https://gist.github.com/AndrewEdwards/84777566">https://gist.github.com/AndrewEdwards/84777566</a><br>
<br>
Observing the dmd/src, druntime, and phobos directories I noticed
that dmd/src does not contain an win64.mak file but the others do.
This shouldn't matter though, I thought, because when building dmd I
specify MODEL=64. I don't think it made a difference.<br>
<br>
I took a look at win32.mak and noticed a reference to PVS-Studio. I
didn't have it installed but all attempts to compile dmd prior
succeeded. Just out curiosity I went ahead and installed it but now
I can't compile dmd. I get the following:<br>
<br>
LINK : warning LNK4004: unrecognized option '/p512'; ignored<br>
LINK : warning LNK4004: unrecognized option '/c'; ignored<br>
LINK : fatal error LNK1104: cannot open file 'frontend.lib'<br>
<br>
--- errorlevel 1104<br>
<br>
I'm at a lost at the moment. I guest a better question to ask is
does anyone working on Win64 regularly build and use dmd from
source? If so, can you provide the steps to properly configure my
system?<br>
<br>
Thanks,<br>
Andrew<br>
<div class="moz-forward-container"><br>
<div class="moz-cite-prefix">On 1/16/2014 3:08 PM, Walter Bright
wrote:</div>
<br>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
This error can happen if one attempts to link together files
compiled with different memory models - but that shouldn't be
happening. I don't know what is going wrong here.<br>
<br>
What snn.lib are you linking with? Also, can you post your message
to the beta list, perhaps someone else has seen this issue too?<br>
<br>
<div class="moz-cite-prefix">On 1/16/2014 3:56 AM, Andrew Edwards
wrote:<br>
</div>
<blockquote cite="mid:52D7C909.5040702@gmail.com" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Walter,<br>
<br>
I've made some progress with building the betas. I've
successfully built dmd and created the required zips for each
platform with the exception of Win32. I need to be able to
build from head in order to get this release built.<br>
<br>
I followed instructions at wiki.dlang.org/Building_DMD but,
while everything seems to work, I get errors about a missing
linker when building the unittest or any other d program.
Trying to pull link.exe from a different release and staging
it doesn't work... I get a slew of errors in the form:<br>
<br>
..\druntime\lib\druntime.lib(thread)<br>
Error 35: Cannot Reach TARGET from FRAME at Relative
00041H from Segment _TEXT<br>
Segment _TEXT<br>
FRAME = Frame of Group FLAT 000000H<br>
TARGET = External Symbol
_D4core6thread6Thread7sm_thisC4Core6thread6Thread 93D24H<br>
FIXUP Type = Unknown Type<br>
--- errorlevel 1342<br>
<br>
This is my last major roadblock. I've merged the 2.065 branch
back to master and created a new "release" branch. Last thing
left to do is this combine the zips and stage them so I can
make the installers.<br>
<br>
Any suggestions on what needs to be modified in
wiki.dlang.org/Building_DMD to set up a working dmd
environment?<br>
<br>
Regards,<br>
Andrew<br>
</div>
</blockquote>
<br>
<br>
</div>
<br>
</body>
</html>