It seems to link, and I need Unwind now.

I'm too tired to mess with this.  I'll probably break something.
Time to go to bed.
This commit is contained in:
2015-05-03 03:53:52 -04:00
parent db2bda84c8
commit aa17f3857f
7 changed files with 120 additions and 57 deletions

View File

@ -3,12 +3,14 @@ SRCS = libcpprt_entry.c libcpprt.cc
RUNTIME_SOURCES = c++_runtime.cc c++_exceptions_runtime.cc
.PATH: ${.CURDIR}/runtime
#RUNTIME_SOURCES+= typeinfo.cc libelftc_dem_gnu3.c dynamic_cast.cc
#RUNTIME_SOURCES+= exception.cc
RUNTIME_SOURCES+= typeinfo.cc libelftc_dem_gnu3.c dynamic_cast.cc
RUNTIME_SOURCES+= exception.cc
RUNTIME_SOURCES+= auxhelper.cc guard.cc memory.cc stdexcept.cc terminate.cc
SRCS+= $(RUNTIME_SOURCES)
CXXFLAGS+= -I. -Iinclude -std=c++11 -fno-rtti -fno-exceptions
CXXFLAGS+= -I. -Iinclude -std=c++11
#CXXFLAGS+= -I. -Iinclude -std=c++11 -fno-rtti -fno-exceptions
CFLAGS+= -I. -Iinclude
.include <bsd.kmod.mk>