www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3153] New: win32.mak tries to copy phobos.lib, gcstub.obj to nonexistent folder lib

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3153

           Summary: win32.mak tries to copy phobos.lib, gcstub.obj to
                    nonexistent folder lib
           Product: D
           Version: 2.025
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: lio+bugzilla lunesu.com


Created an attachment (id=416)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=416)
fixes the destination path to the new location: windows\lib

Since 2.025, the dmd zip contained an extensionless file "lib". This is because
the directory structure was changed but some commands in win32.mak were not
fixed: the 'install' target still copies files to the "lib" folder, but because
the folder doesn't it exist, the copy commands assumes the target "lib" is a
file.

The attached patch fixes the destination path to the new location: windows\lib

(Note: even after fixing the destination paths, "make -fwin32.mak install"
still fails on my computer because it cannot find ..\druntime\lib\gcstub.obj)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 07 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3153






PDT ---
To make sure that destination is a folder it must have trailing slash:
---
$(CP) phobos.lib $(DIR)\windows\lib\
---

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 08 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3153






02:02:19 PDT ---

 To make sure that destination is a folder it must have trailing slash:
 ---
 $(CP) phobos.lib $(DIR)\windows\lib\
 ---
I tried it, it doesn't work. I think it doesn't work because in the makefile a line ending in a backslash is extended to include the next line, similar to C/C++. This is unfortunate for a makefile where there are plenty of paths :) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 08 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3153






PDT ---
---
$(CP) phobos.lib $(DIR)\windows\lib\*
---

:)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 08 2009
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3153


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED





13:40:34 PDT ---
Fixed dmd 2.032

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 03 2009