source: git/standalone.test/mk @ 5fdf7a

spielwiese
Last change on this file since 5fdf7a was 5fdf7a, checked in by Max Horn <max@…>, 11 years ago
Replace --no-{rtti,exceptions} by -fno-{rtti,exceptions} This improves compatibility with clang. Moreover, to the best of my knowledge, the --no-* variants are undocumented to start with. At least the GCC manuals for all versions from 2.95.3 till 4.7.2 only list the -fno-* variants, as far as I could tell.
  • Property mode set to 100755
File size: 1.1 KB
Line 
1#! /bin/sh
2
3
4#############################################################################################################
5# !!!!!!!!!!!!!!!!! Please put a copy of the installed '$PREFIX/bin/libpolys-config' here !!!!!!!!!!!!!!!!!!!
6#############################################################################################################
7
8
9
10# NAME="tt"
11NAME="test"
12
13P="." 
14# /mnt/DATA/GITHUB/w/GAP/libsing/spielwiese/TARGET/bin"
15
16LIBPOLYSCFLAGS="`sh $P/libsingular-config --cflagsg` -g -Wextra -Winline -Wall -Wno-long-long  -O0 -fno-exceptions"
17LIBPOLYSLIBS=`sh $P/libsingular-config --libsg`
18LIBPOLYSPREFIX="`sh $P/libsingular-config --prefix`"
19
20echo "Using libpolys from: '$LIBPOLYSPREFIX'"
21echo "Using        CFLAGS: '$LIBPOLYSCFLAGS'"
22echo "Using          LIBS: '$LIBPOLYSLIBS'"
23
24CMD="g++ $LIBPOLYSCFLAGS -c $NAME.cc " 
25echo "executing '$CMD':"
26$CMD
27# -rdynamic
28CMD="g++ -static -g -Wextra -Winline -Wall -Wno-long-long -O0 -fno-exceptions $NAME.o -o $NAME $LIBPOLYSLIBS" 
29echo "executing '$CMD':"
30$CMD
31
32SINGULARPATH="$LIBPOLYSPREFIX/share/gftables:$LIBPOLYSPREFIX/libexec/singular/MOD" SINGULAR_ROOT_DIR="$LIBPOLYSPREFIX" ./$NAME
Note: See TracBrowser for help on using the repository browser.