Summary: FTBFS using GCC-4.5 and linux.mak
           Product: D
           Version: D1 & D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: make

--- Comment #0 from Iain Buclaw <> 2010-12-09 05:42:48 PST ---
Seems to be a trivial ordering problem in the makefile. And there are missing
references to symbols from -lm and -lstdc++.

Using GCC-4.5 to build from source.

--- dmd~/linux.mak  2010-11-24 01:33:15.143822000 +0000
+++ dmd/linux.mak       2010-12-09 13:38:40.908718003 +0000
@@ -94,7 +94,7 @@
 all: dmd

 dmd: $(DMD_OBJS)
-       $(CC) $(MODEL) -lpthread $(COV) $(DMD_OBJS) -o dmd
+       $(CC) $(MODEL) $(COV) $(DMD_OBJS) -lm -lpthread -lstdc++ -o dmd

        rm -f $(DMD_OBJS) dmd optab.o id.o impcnvgen idgen id.c id.h \


Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to