Skip to content

Commit

Permalink
This should be g++, not gcc, in case gcc and g++ point to completely …
Browse files Browse the repository at this point in the history
…different gcc installations as happened to me when I built and installed GDC on my Linux VM. An installation compiled without C++ support is unlikely to know where to find the relevant C++ libraries like libstdc++.
  • Loading branch information
dsimcha committed Aug 24, 2011
1 parent e8e27a4 commit 38461b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/posix.mak
Expand Up @@ -141,7 +141,7 @@ SRC = win32.mak posix.mak \
all: dmd

dmd: $(DMD_OBJS)
$(ENVP) gcc -o dmd -m$(MODEL) $(COV) $(DMD_OBJS) $(LDFLAGS)
$(ENVP) g++ -o dmd -m$(MODEL) $(COV) $(DMD_OBJS) $(LDFLAGS)

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

0 comments on commit 38461b0

Please sign in to comment.