www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11972] New: tools makefile broken

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

           Summary: tools makefile broken
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: timothee.cour2 gmail.com


--- Comment #0 from Timothee Cour <timothee.cour2 gmail.com> 2014-01-22
17:26:19 PST ---
when make -f posix.mak encounters this:

($(DMD) -v -of$( ) $( ).o 2>/dev/null | grep '\-Xlinker' | cut -f2- -d' ' ;
echo -lcurl  ) | xargs $(CC)

it breaks with:
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable

Note that this works (on my system):
    $(DMD) -of$( ) $( ).o -L-lcurl

Maybe we should have a check for whether curl is installed

But as I've suggested before, we should use makefile only in initial bootstrap
step, and then use a D-based build tool which would not suck unlike makefiles.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 22 2014
parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11972


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com


--- Comment #1 from Walter Bright <bugzilla digitalmars.com> 2014-01-24
22:06:59 PST ---
Is this a regression? Did it ever work?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 24 2014