Changeset 5fdf7a in git
- Timestamp:
- Jan 10, 2013, 11:00:55 AM (11 years ago)
- Branches:
- (u'spielwiese', 'd1b01e9d51ade4b46b745d3bada5c5f3696be3a8')
- Children:
- d101b165f063c8f437a101b437baa6095a596422
- Parents:
- 80c703d0b975055386088b85c7bcdd5c7684adc0
- git-author:
- Max Horn <max@quendi.de>2013-01-10 11:00:55+01:00
- git-committer:
- Oleksandr Motsak <http://goo.gl/mcpzY>2013-01-10 16:45:07+01:00
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r80c703 r5fdf7a 121 121 #set(CMAKE_CXX_FLAGS "-W -Wall -Wextra -Winline -Wno-non-virtual-dtor") 122 122 set(CMAKE_C_FLAGS "-w -pipe ") 123 set(CMAKE_CXX_FLAGS "-w -pipe ") #- -no-rtti123 set(CMAKE_CXX_FLAGS "-w -pipe ") #-fno-rtti 124 124 # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-implicit-templates") 125 125 # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") 126 126 127 127 set(CMAKE_C_FLAGS_RELEASE "-O3 -fomit-frame-pointer") 128 set(CMAKE_CXX_FLAGS_RELEASE "-O3 - -no-rtti -fomit-frame-pointer")128 set(CMAKE_CXX_FLAGS_RELEASE "-O3 -fno-rtti -fomit-frame-pointer") 129 129 130 130 #set(CMAKE_C_FLAGS_RELEASE "-O2 -fomit-frame-pointer -DNDEBUG ") -
Singular/configure.SAVE
r80c703 r5fdf7a 1356 1356 cross_compiling=$ac_cv_prog_cxx_cross 1357 1357 1358 # check whether gcc accepts - -no-rtti1359 echo $ac_n "checking whether gcc accepts - -no-rtti""... $ac_c" 1>&61360 echo "configure:1361: checking whether gcc accepts - -no-rtti" >&51361 CXXFLAGS="${CXXFLAGS} - -no-rtti"1358 # check whether gcc accepts -fno-rtti 1359 echo $ac_n "checking whether gcc accepts -fno-rtti""... $ac_c" 1>&6 1360 echo "configure:1361: checking whether gcc accepts -fno-rtti" >&5 1361 CXXFLAGS="${CXXFLAGS} -fno-rtti" 1362 1362 if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then 1363 1363 echo $ac_n "(cached) $ac_c" 1>&6 … … 1388 1388 CXXFLAGS="$temp_flags" 1389 1389 else 1390 CXXFLAGS="${temp_flags} - -no-rtti"1390 CXXFLAGS="${temp_flags} -fno-rtti" 1391 1391 temp_flags="${CXXFLAGS}" 1392 1392 fi 1393 1393 1394 # check whether gcc accepts - -no-exceptions1395 echo $ac_n "checking whether gcc accepts - -no-exceptions""... $ac_c" 1>&61396 echo "configure:1397: checking whether gcc accepts - -no-exceptions" >&51397 CXXFLAGS="${CXXFLAGS} - -no-exceptions"1394 # check whether gcc accepts -fno-exceptions 1395 echo $ac_n "checking whether gcc accepts -fno-exceptions""... $ac_c" 1>&6 1396 echo "configure:1397: checking whether gcc accepts -fno-exceptions" >&5 1397 CXXFLAGS="${CXXFLAGS} -fno-exceptions" 1398 1398 if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then 1399 1399 echo $ac_n "(cached) $ac_c" 1>&6 … … 1424 1424 CXXFLAGS="$temp_flags" 1425 1425 else 1426 CXXFLAGS="${temp_flags} - -no-exceptions"1426 CXXFLAGS="${temp_flags} -fno-exceptions" 1427 1427 temp_flags="${CXXFLAGS}" 1428 1428 fi … … 1523 1523 temp_flags="${CXXFLAGS}" 1524 1524 if test "${ac_cv_cxx_have_rtti}" = yes; then 1525 CXXFLAGS="${temp_flags} - -no-rtti"1525 CXXFLAGS="${temp_flags} -fno-rtti" 1526 1526 fi 1527 1527 temp_flags="${CXXFLAGS}" 1528 1528 CXXTEMPLFLAGS="-fno-implicit-templates" 1529 1529 if test "${ac_cv_cxx_have_exceptions}" = yes; then 1530 CXXTEMPLFLAGS="${CXXTEMPLFLAGS} - -no-exceptions"1530 CXXTEMPLFLAGS="${CXXTEMPLFLAGS} -fno-exceptions" 1531 1531 fi 1532 1532 if test "$ac_cv_is_aix" = yes; then -
Singular/configure.in.SAVE
r80c703 r5fdf7a 426 426 AC_LANG_SAVE 427 427 AC_LANG_CPLUSPLUS 428 # check whether gcc accepts - -no-rtti429 AC_MSG_CHECKING(whether gcc accepts - -no-rtti)430 CXXFLAGS="${CXXFLAGS} - -no-rtti"428 # check whether gcc accepts -fno-rtti 429 AC_MSG_CHECKING(whether gcc accepts -fno-rtti) 430 CXXFLAGS="${CXXFLAGS} -fno-rtti" 431 431 AC_CACHE_VAL(ac_cv_cxx_have_rtti, 432 432 AC_TRY_COMPILE(,,ac_cv_cxx_have_rtti=yes,ac_cv_cxx_have_rtti=no) … … 436 436 CXXFLAGS="$temp_flags" 437 437 else 438 CXXFLAGS="${temp_flags} - -no-rtti"438 CXXFLAGS="${temp_flags} -fno-rtti" 439 439 temp_flags="${CXXFLAGS}" 440 440 fi 441 441 442 # check whether gcc accepts - -no-exceptions443 AC_MSG_CHECKING(whether gcc accepts - -no-exceptions)444 CXXFLAGS="${CXXFLAGS} - -no-exceptions"442 # check whether gcc accepts -fno-exceptions 443 AC_MSG_CHECKING(whether gcc accepts -fno-exceptions) 444 CXXFLAGS="${CXXFLAGS} -fno-exceptions" 445 445 AC_CACHE_VAL(ac_cv_cxx_have_exceptions, 446 446 AC_TRY_LINK(,,ac_cv_cxx_have_exceptions=yes,ac_cv_cxx_have_exceptions=no) … … 450 450 CXXFLAGS="$temp_flags" 451 451 else 452 CXXFLAGS="${temp_flags} - -no-exceptions"452 CXXFLAGS="${temp_flags} -fno-exceptions" 453 453 temp_flags="${CXXFLAGS}" 454 454 fi … … 503 503 temp_flags="${CXXFLAGS}" 504 504 if test "${ac_cv_cxx_have_rtti}" = yes; then 505 CXXFLAGS="${temp_flags} - -no-rtti"505 CXXFLAGS="${temp_flags} -fno-rtti" 506 506 fi 507 507 temp_flags="${CXXFLAGS}" 508 508 CXXTEMPLFLAGS="-fno-implicit-templates" 509 509 if test "${ac_cv_cxx_have_exceptions}" = yes; then 510 CXXTEMPLFLAGS="${CXXTEMPLFLAGS} - -no-exceptions"510 CXXTEMPLFLAGS="${CXXTEMPLFLAGS} -fno-exceptions" 511 511 fi 512 512 if test "$ac_cv_is_aix" = yes; then -
Singular/makefile.SAVE
r80c703 r5fdf7a 53 53 PIPE = -pipe 54 54 CFLAGS = -O3 -Wall -fomit-frame-pointer ${PIPE} ${LIBPOLYS_CFLAGS} ${PYTHON_CFLAGS} 55 CXXFLAGS = -O3 -Wall -fomit-frame-pointer - -no-rtti ${PIPE} ${LIBPOLYS_CFLAGS} ${PYTHON_CFLAGS}56 CXXTEMPLFLAGS = - -no-exceptions ## -fno-implicit-templates55 CXXFLAGS = -O3 -Wall -fomit-frame-pointer -fno-rtti ${PIPE} ${LIBPOLYS_CFLAGS} ${PYTHON_CFLAGS} 56 CXXTEMPLFLAGS = -fno-exceptions ## -fno-implicit-templates 57 57 CPPFLAGS = -I${srcdir} -I.. -I${includedir} ${LIBPOLYS_INCLUDES} ${PYTHON_INCLUDES} 58 58 DEFSNL = -DNDEBUG -DOM_NDEBUG -
dyn_modules/bigintm/Makefile.am
r80c703 r5fdf7a 12 12 13 13 CXXTEMPLFLAGS = ${PIPE} 14 ## -fno-implicit-templates15 ## --no-exceptions16 14 17 15 DEBUGCXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS} 18 16 19 NODEBUGCFLAGS = -O3 -w -fomit-frame-pointer ${PIPE} 20 NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer ${CXXTEMPLFLAGS} 21 ## --no-rtti?17 NODEBUGCFLAGS = -O3 -w -fomit-frame-pointer ${PIPE} 18 NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer ${CXXTEMPLFLAGS} -fno-exceptions -fno-rtti 19 ## -fno-implicit-templates? 22 20 NODEBUGDEFS = -DNDEBUG -DOM_NDEBUG 23 21 -
dyn_modules/bigintm/SConstruct
r80c703 r5fdf7a 18 18 #env.SharedObject(target = 'mod_main.o', source = 'mod_main.cc') 19 19 20 CXXTEMPLFLAGS = "-fno-implicit-templates - -no-exceptions"20 CXXTEMPLFLAGS = "-fno-implicit-templates -fno-exceptions" 21 21 22 22 if env ['PLATFORM'] == "darwin": … … 50 50 CPPPATH = SING_INCLUDES, 51 51 CPPDEFINES = ["NDEBUG", "OM_NDEBUG"], 52 CXXFLAGS = "-O3 -fomit-frame-pointer - -no-rtti " + CXXTEMPLFLAGS,52 CXXFLAGS = "-O3 -fomit-frame-pointer -fno-rtti " + CXXTEMPLFLAGS, 53 53 CCFLAGS="-O3 -fomit-frame-pointer ", 54 54 LDMODULEFLAGS = BUNDLETEMPFLAGS, -
dyn_modules/modgen/Makefile.in
r80c703 r5fdf7a 45 45 ## compiler and linker options 46 46 ## 47 CFLAGS += - -no-rtti --no-exceptions -O3 -w -fomit-frame-pointer -pipe -fno-implicit-templates \47 CFLAGS += -fno-rtti -fno-exceptions -O3 -w -fomit-frame-pointer -pipe -fno-implicit-templates \ 48 48 -g -I${includedir} -I../include -I${topsrcdir}/.. -DNDEBUG -DMODULE_GENERATOR \ 49 49 -D${SING_UNAME} -
dyn_modules/syzextra/Makefile.am
r80c703 r5fdf7a 13 13 CXXTEMPLFLAGS = ${PIPE} 14 14 ## -fno-implicit-templates 15 ## --no-exceptions16 15 17 16 DEBUGCXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS} 18 17 19 18 NODEBUGCFLAGS = -O3 -w -fomit-frame-pointer ${PIPE} 20 NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer ${CXXTEMPLFLAGS} 21 ## --no-rtti ? 19 NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer ${CXXTEMPLFLAGS} -fno-rtti -fno-exceptions 20 22 21 NODEBUGDEFS = -DNDEBUG -DOM_NDEBUG 23 22 -
dyn_modules/syzextra/SConstruct
r80c703 r5fdf7a 18 18 #env.SharedObject(target = 'mod_main.o', source = 'mod_main.cc') 19 19 20 CXXTEMPLFLAGS = "-fno-implicit-templates - -no-exceptions"20 CXXTEMPLFLAGS = "-fno-implicit-templates -fno-exceptions" 21 21 22 22 if env ['PLATFORM'] == "darwin": … … 50 50 CPPPATH = SING_INCLUDES, 51 51 CPPDEFINES = ["NDEBUG", "OM_NDEBUG"], 52 CXXFLAGS = "-O3 -fomit-frame-pointer - -no-rtti " + CXXTEMPLFLAGS,52 CXXFLAGS = "-O3 -fomit-frame-pointer -fno-rtti " + CXXTEMPLFLAGS, 53 53 CCFLAGS="-O3 -fomit-frame-pointer ", 54 54 LDMODULEFLAGS = BUNDLETEMPFLAGS, -
factory/CMakeLists.txt
r80c703 r5fdf7a 75 75 76 76 #set(CMAKE_CXX_FLAGS "-W -Wall -Wextra -Winline -Wno-non-virtual-dtor") 77 set(CMAKE_CXX_FLAGS "-w - -no-rtti -pipe ")77 set(CMAKE_CXX_FLAGS "-w -fno-rtti -pipe ") 78 78 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-implicit-templates") 79 79 #add_definitions(-DNDEBUG -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H) -
factory/libfac/CMakeLists.txt
r80c703 r5fdf7a 36 36 37 37 #set(CMAKE_CXX_FLAGS "-W -Wall -Wextra -Winline -Wno-non-virtual-dtor") 38 set(CMAKE_CXX_FLAGS "-w - -no-rtti -pipe ")38 set(CMAKE_CXX_FLAGS "-w -fno-rtti -pipe ") 39 39 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-implicit-templates") 40 40 #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") -
findexec/Makefile.am
r80c703 r5fdf7a 11 11 12 12 CXXTEMPLFLAGS =-ftrapv 13 ### - -no-exceptions ## -fno-implicit-templates13 ### -fno-implicit-templates 14 14 15 15 libfindexec_la_CFLAGS = -O3 -fomit-frame-pointer ${PIPE} 16 16 libfindexec_g_la_CFLAGS = ${PIPE} 17 17 18 libfindexec_la_CXXFLAGS = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS} 19 ## --no-rtti 18 libfindexec_la_CXXFLAGS = -O3 -fomit-frame-pointer ${PIPE} ${CXXTEMPLFLAGS} -fno-exceptions -fno-rtti 20 19 libfindexec_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS} 21 20 # -fdiagnostics-show-option -
kernel/makefile.SAVE
r80c703 r5fdf7a 41 41 PIPE = -pipe 42 42 CFLAGS = -O3 -fomit-frame-pointer ${PIPE} ${LIBPOLYS_CFLAGS} 43 CXXFLAGS = -O3 -fomit-frame-pointer - -no-rtti ${PIPE} ${LIBPOLYS_CFLAGS}44 CXXTEMPLFLAGS = - -no-exceptions ## -fno-implicit-templates43 CXXFLAGS = -O3 -fomit-frame-pointer -fno-rtti ${PIPE} ${LIBPOLYS_CFLAGS} 44 CXXTEMPLFLAGS = -fno-exceptions ## -fno-implicit-templates 45 45 CPPFLAGS = -I${srcdir} -I.. -I${includedir} ${LIBPOLYS_CFLAGS} 46 46 DEFS = -DNDEBUG -DOM_NDEBUG -
standalone.test/mk
r80c703 r5fdf7a 14 14 # /mnt/DATA/GITHUB/w/GAP/libsing/spielwiese/TARGET/bin" 15 15 16 LIBPOLYSCFLAGS="`sh $P/libsingular-config --cflagsg` -g -Wextra -Winline -Wall -Wno-long-long -O0 - -no-exceptions"16 LIBPOLYSCFLAGS="`sh $P/libsingular-config --cflagsg` -g -Wextra -Winline -Wall -Wno-long-long -O0 -fno-exceptions" 17 17 LIBPOLYSLIBS=`sh $P/libsingular-config --libsg` 18 18 LIBPOLYSPREFIX="`sh $P/libsingular-config --prefix`" … … 26 26 $CMD 27 27 # -rdynamic 28 CMD="g++ -static -g -Wextra -Winline -Wall -Wno-long-long -O0 - -no-exceptions $NAME.o -o $NAME $LIBPOLYSLIBS"28 CMD="g++ -static -g -Wextra -Winline -Wall -Wno-long-long -O0 -fno-exceptions $NAME.o -o $NAME $LIBPOLYSLIBS" 29 29 echo "executing '$CMD':" 30 30 $CMD
Note: See TracChangeset
for help on using the changeset viewer.