http://d.puremagic.com/issues/show_bug.cgi?id=4896

           Summary: GCC not accessed as a variable in linux.mak
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: shro8...@vandals.uidaho.edu


--- Comment #0 from BCS <shro8...@vandals.uidaho.edu> 2010-09-19 07:08:55 PDT 
---
Index: src/linux.mak
===================================================================
--- src/linux.mak    (revision 680)
+++ src/linux.mak    (working copy)
@@ -5,7 +5,8 @@

 MODEL=-m32

 CC=g++ $(MODEL)
+GCC=gcc $(MODEL)

 #OPT=-g -g3
 #OPT=-O2
@@ -93,7 +94,7 @@
 all: dmd

 dmd: $(DMD_OBJS)
-    gcc $(MODEL) -lstdc++ -lpthread $(COV) $(DMD_OBJS) -o dmd
+    $(GCC) -lstdc++ -lpthread $(COV) $(DMD_OBJS) -o dmd

 clean:
     rm -f $(DMD_OBJS) dmd optab.o id.o impcnvgen idgen id.c id.h \
@@ -463,7 +464,7 @@
     $(CC) -c $(GFLAGS) -I$(ROOT) $<

 strtold.o: $C/strtold.c
-    gcc $(MODEL) -c $C/strtold.c
+    $(GCC) -c $C/strtold.c

 struct.o: struct.c
     $(CC) -c $(CFLAGS) $<

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

Reply via email to