Build v3.03 released
dickl
dick221z at yahoo.com
Thu Sep 21 19:17:57 PDT 2006
That won't quite work, it leaves a trailing '+' which the linker doesn't
like. The change needs to be something like this
if (lLibraryFiles.length > 0)
{
foreach( char[] lLib; lLibraryFiles)
{
lLib = std.path.addExt(lLib, vLibExtention);
lCommandLine ~= vLinkLibSwitch ~ util.str.enquote(lLib) ~
vArgFileDelim;
}
lCommandLine.length = lCommandLine.length -1;
}
lCommandLine ~= "\n";
Derek Parnell wrote:
> On Thu, 21 Sep 2006 13:24:33 -0400, dickl wrote:
>
>
>> Sorry to say, 3.03 is messed up for Windows builds.
>
> Damn! So am I! I forgot to retest this.
>
>> In the linker .rsp file, the libraries are placed on separate lines.
>> Optlink wants all the libraries on 1 line with '+' between the lib names.
>
> A quick fix would be to replace lines 1079-1082 in build.d with ...
>
> lCommandLine ~= vLinkLibSwitch ~
> util.str.enquote(lLib) ~ vArgFileDelim;
> }
> }
> lCommandLine ~= "\n";
> I think this will work but I haven't tested it yet. I'll do that later
> today.
>
More information about the Digitalmars-d-announce
mailing list