<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
What about a different environment block for Win64 in sc.ini?<br>
<br>
process [Environment] before command line processing, and process
[Environment32] or [Environment64] afterwards, when the
architecture is known.<br>
<br>
<br>
On 10/25/2012 8:32 PM, Walter Bright wrote:<br>
</div>
<blockquote cite="mid:508985BC.5000902@digitalmars.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
I'm not really sure what to do about this. Microsoft's linker
reads the LIB environment variable.<br>
<br>
Perhaps we can have link.c use putenv to reset LIB when calling
the linker.<br>
<br>
<div class="moz-cite-prefix">On 10/25/2012 11:00 AM, Rainer
Schuetze wrote:<br>
</div>
<blockquote cite="mid:50897E5B.9070802@gmx.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix"><br>
On 10/25/2012 6:34 PM, David Simcha wrote:<br>
</div>
<blockquote
cite="mid:CAA8CUdvL3fGbQA0qEAwjLkx4fdoeSHL2EnuE2_2huz6YsjU4Xg@mail.gmail.com"
type="cite">So I guess these should be versioned out in the
Win64 builds then? What libs should replace them?<br>
<br>
</blockquote>
<br>
The SDK import libraries are called the same for both win32 and
win64 builds, but they are in different directories. That's why
I suspect we'll need a different setting for LIB for Win64 in
sc.ini.<br>
<br>
<br>
<blockquote
cite="mid:CAA8CUdvL3fGbQA0qEAwjLkx4fdoeSHL2EnuE2_2huz6YsjU4Xg@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Wed, Oct 24, 2012 at 11:28 PM,
Walter Bright <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:walter@digitalmars.com" target="_blank">walter@digitalmars.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div class="im"> <br>
<div>On 10/24/2012 8:05 PM, David Simcha wrote:<br>
</div>
<blockquote type="cite"><br>
<div>
<div><font face="courier new, monospace">LINK :
fatal error LNK1104: cannot open file
'shell32.lib'</font></div>
<div><font face="courier new, monospace">---
errorlevel 1104</font></div>
<div><font face="courier new, monospace"><br>
</font></div>
<div><font face="arial, helvetica, sans-serif">How
is shell32.lib even getting pulled in?</font></div>
</div>
</blockquote>
<br>
</div>
<div>
<div>c:\cbx\mars>grep -r shell32.lib *.d<br>
</div>
</div>
<font face="arial, helvetica, sans-serif">runtime\src\rt\dmain2.d:
pragma(lib, "shell32.lib"); // needed for
CommandLineToArgvW<br>
hobos\std\process.d: pragma(lib,"shell32.lib");</font><br>
</div>
<br>
</blockquote>
</div>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
dmd-beta mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:dmd-beta@puremagic.com">dmd-beta@puremagic.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.puremagic.com/mailman/listinfo/dmd-beta">http://lists.puremagic.com/mailman/listinfo/dmd-beta</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
dmd-beta mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dmd-beta@puremagic.com">dmd-beta@puremagic.com</a>
<a class="moz-txt-link-freetext" href="http://lists.puremagic.com/mailman/listinfo/dmd-beta">http://lists.puremagic.com/mailman/listinfo/dmd-beta</a></pre>
</blockquote>
<br>
</body>
</html>