[Issue 11972] New: tools makefile broken
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 22 17:26:23 PST 2014
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 at puremagic.com
ReportedBy: timothee.cour2 at gmail.com
--- Comment #0 from Timothee Cour <timothee.cour2 at 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: -------
More information about the Digitalmars-d-bugs
mailing list