Skip to content
Snippets Groups Projects
Commit 4d03bff9 authored by Kostyantyn Vorobyov's avatar Kostyantyn Vorobyov
Browse files

Fixed a few more indentation issues in the e-acsl wrapper script

parent c6b5fd84
No related branches found
No related tags found
No related merge requests found
...@@ -84,21 +84,21 @@ manpage() { ...@@ -84,21 +84,21 @@ manpage() {
printf "e-acsl-gcc.sh - instrument and compile C files with E-ACSL printf "e-acsl-gcc.sh - instrument and compile C files with E-ACSL
Usage: e-acsl-gcc.sh [options] files Usage: e-acsl-gcc.sh [options] files
Options: Options:
-h show this help page -h show this help page
-c compile instrumented code -c compile instrumented code
-l pass additional options to the linker -l pass additional options to the linker
-e pass additional options to the pre-preprocessor -e pass additional options to the pre-preprocessor
-E pass additional arguments to the Frama-C pre-processor -E pass additional arguments to the Frama-C pre-processor
-p output the generated code with rich formatting to STDOUT -p output the generated code with rich formatting to STDOUT
-o <file> output the generated code to <file> [a.out.frama.c] -o <file> output the generated code to <file> [a.out.frama.c]
-O <file> output the generated executables to <file> [a.out, a.out.e-acsl] -O <file> output the generated executables to <file> [a.out, a.out.e-acsl]
-M maximise memory-related instrumentation -M maximise memory-related instrumentation
-g always use GMP integers instead of C integral types -g always use GMP integers instead of C integral types
-q suppress any output except for errors and warnings -q suppress any output except for errors and warnings
-s <file> redirect all output to <file> -s <file> redirect all output to <file>
-P compile executable without debug features -P compile executable without debug features
-I <file> specify Frama-C executable [frama-c] -I <file> specify Frama-C executable [frama-c]
-G <file> specify GCC executable [gcc] -G <file> specify GCC executable [gcc]
Notes: Notes:
This help page shows only basic options. This help page shows only basic options.
...@@ -324,27 +324,27 @@ EACSL_MACRO_ID="__E_ACSL__" ...@@ -324,27 +324,27 @@ EACSL_MACRO_ID="__E_ACSL__"
# Gcc and related flags # Gcc and related flags
CC="$OPTION_CC" CC="$OPTION_CC"
CFLAGS="$OPTION_CFLAGS CFLAGS="$OPTION_CFLAGS
-std=c99 $GCCMACHDEP -g3 -O2 -pedantic -fno-builtin -std=c99 $GCCMACHDEP -g3 -O2 -pedantic -fno-builtin
-Wall \ -Wall \
-Wno-long-long \ -Wno-long-long \
-Wno-attributes \ -Wno-attributes \
-Wno-unused \ -Wno-unused \
-Wno-unused-function \ -Wno-unused-function \
-Wno-unused-result \ -Wno-unused-result \
-Wno-unused-value \ -Wno-unused-value \
-Wno-unused-function \ -Wno-unused-function \
-Wno-unused-variable \ -Wno-unused-variable \
-Wno-unused-but-set-variable \ -Wno-unused-but-set-variable \
-Wno-implicit-function-declaration" -Wno-implicit-function-declaration"
CPPFLAGS="$OPTION_CPPFLAGS" CPPFLAGS="$OPTION_CPPFLAGS"
LDFLAGS="$OPTION_LDFLAGS" LDFLAGS="$OPTION_LDFLAGS"
# C, CPP and LD flags for compilation of E-ACSL-generated sources # C, CPP and LD flags for compilation of E-ACSL-generated sources
EACSL_CFLAGS="" EACSL_CFLAGS=""
EACSL_CPPFLAGS=" EACSL_CPPFLAGS="
-I$EACSL_SHARE -I$EACSL_SHARE
-D$EACSL_MACRO_ID -D$EACSL_MACRO_ID
-D__FC_errno=(*__errno_location())" -D__FC_errno=(*__errno_location())"
EACSL_LDFLAGS="-lgmp -lm" EACSL_LDFLAGS="-lgmp -lm"
# Memory model sources # Memory model sources
EACSL_RTL="$EACSL_SHARE/e_acsl.c \ EACSL_RTL="$EACSL_SHARE/e_acsl.c \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment