If you have C++ .o files you need to link with g++

This commit is contained in:
Cary R 2010-01-06 13:33:25 -08:00 committed by Stephen Williams
parent 3dcaf6253b
commit c74ca4a502
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ ifeq (@MINGW32@,yes)
endif
system.vpi: $O ../vvp/libvpi.a
$(CC) @shared@ -o $@ $O -L../vvp $(LDFLAGS) -lvpi $(SYSTEM_VPI_LDFLAGS)
$(CXX) @shared@ -o $@ $O -L../vvp $(LDFLAGS) -lvpi $(SYSTEM_VPI_LDFLAGS)
sys_readmem_lex.c: sys_readmem_lex.lex
flex -t -Preadmem $(srcdir)/sys_readmem_lex.lex > sys_readmem_lex.c