D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2886 - The linker can't handle *.d.obj
Summary: The linker can't handle *.d.obj
Status: RESOLVED DUPLICATE of issue 3627
Alias: None
Product: D
Classification: Unclassified
Component: tools (show other issues)
Version: D2
Hardware: x86 Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: link-failure
Depends on:
Blocks:
 
Reported: 2009-04-24 11:32 UTC by Heromyth
Modified: 2015-06-09 04:37 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Heromyth 2009-04-24 11:32:43 UTC
If the obj's name is like this *.d.obj, it can't be recognized by the Optlink under Windows XP.

Here are the steps:

Z:\testd>dmd -c test.d -ofobj\test.d.obj

Z:\testd>dmd obj\test.d.obj -ofbin\test.exe
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
obj\test.d
 Error 2: File Not Found obj\test.d
--- errorlevel 1

Z:\testd>
Comment 1 Don 2010-09-02 01:38:18 UTC

*** This issue has been marked as a duplicate of issue 3627 ***