diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-03-06 17:30:26 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-03-06 17:30:26 +0100 |
commit | 974efcdec799b09f2f456031d8c33a94ebc38d74 (patch) | |
tree | fda2632c0653efac9713791d844b183907eb3d73 /ecomp-c/README | |
parent | eb24268b8476b93eb7737be64d01106bc62c09ad (diff) | |
download | compilertests-974efcdec799b09f2f456031d8c33a94ebc38d74.tar.gz compilertests-974efcdec799b09f2f456031d8c33a94ebc38d74.tar.bz2 |
added simple memory usage checker for standalone mode
freeing all resources correctly, made sure in HOSTED mode with valgrind
Diffstat (limited to 'ecomp-c/README')
-rw-r--r-- | ecomp-c/README | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ecomp-c/README b/ecomp-c/README index 29b6c32..c541676 100644 --- a/ecomp-c/README +++ b/ecomp-c/README @@ -4,6 +4,7 @@ gcc -g -O1 -m32 -march=i386 -fno-omit-frame-pointer -ffreestanding -fno-stack-pr gcc -g -O2 -m32 -march=i386 -fno-omit-frame-pointer -ffreestanding -fno-stack-protector -nostdlib -emain -Werror -Wno-noreturn -Wall -pedantic -fno-pic -std=c89 -o ec ec.c gcc -g -O3 -m32 -march=i386 -fno-omit-frame-pointer -ffreestanding -fno-stack-protector -nostdlib -emain -Werror -Wno-noreturn -Wall -pedantic -fno-pic -std=c89 -o ec ec.c # to use libc and syscall of the host +gcc -g -O0 -m32 -march=i386 -DHOSTED -Werror -Wall -pedantic -std=c89 -o ec ec.c -lbsd gcc -g -O3 -m32 -march=i386 -DHOSTED -Werror -Wall -pedantic -std=c89 -o ec ec.c -lbsd clang -g -O0 -m32 -march=i386 -ffreestanding -fno-stack-protector -nostdlib -Wl,-emain -Werror -Wall -pedantic -std=c89 -o ec ec.c |