switch to c++11 and add option parsing library

This commit is contained in:
Andrew Waterman 2013-02-13 18:03:58 -08:00
parent b15d133ccb
commit 10ebe98376
3 changed files with 4 additions and 2 deletions

2
configure vendored
View File

@ -2964,7 +2964,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
CXXFLAGS="-Wall -g -O3"
CXXFLAGS="-std=c++0x -Wall -g -O3"
# Check for tools to build libraries

View File

@ -50,7 +50,7 @@ AC_SUBST([CFLAGS],["-Wall -g -O3"])
# Check for C++ compiler and set default C++ compiler flags
AC_PROG_CXX
AC_SUBST([CXXFLAGS],["-Wall -g -O3"])
AC_SUBST([CXXFLAGS],["-std=c++0x -Wall -g -O3"])
# Check for tools to build libraries
AC_CHECK_TOOL([AR],[ar])

View File

@ -21,6 +21,7 @@ fesvr_hdrs = \
htif_hexwriter.h \
htif_eth.h \
htif_zedboard.h \
option_parser.h \
fesvr_srcs = \
elfloader.cc \
@ -34,6 +35,7 @@ fesvr_srcs = \
htif_eth.cc \
htif_zedboard.cc \
dummy.c \
option_parser.cc \
fesvr_install_prog_srcs = \
elf2hex.cc \