OLD | NEW |
| (Empty) |
1 #!/bin/sh | |
2 # Copyright (c) 2016, the Dartino project authors. Please see the AUTHORS file | |
3 # for details. All rights reserved. Use of this source code is governed by a | |
4 # BSD-style license that can be found in the LICENSE.md file. | |
5 | |
6 # Temporary script for testing the compact malloc. | |
7 rm a.out | |
8 | |
9 set -e | |
10 | |
11 gcc \ | |
12 -g \ | |
13 -Og \ | |
14 -I. \ | |
15 -DFLETCH_TARGET_OS_POSIX \ | |
16 -DNO_NEWLIB_REENT \ | |
17 -std=gnu99 \ | |
18 platforms/stm/disco_fletch/src/cmpctmalloc.c \ | |
19 -c \ | |
20 -o cmpctmalloc.o | |
21 | |
22 g++ \ | |
23 -g \ | |
24 -Og \ | |
25 -I. \ | |
26 -DFLETCH_TARGET_OS_POSIX \ | |
27 -DNO_NEWLIB_REENT \ | |
28 --std=gnu++11 \ | |
29 platforms/stm/disco_fletch/src/page_allocator.cc \ | |
30 platforms/stm/disco_fletch/src/cmpctmalloc_test.cc \ | |
31 src/shared/assert.cc \ | |
32 src/shared/platform_posix.cc src/shared/platform_linux.cc \ | |
33 src/shared/utils.cc \ | |
34 cmpctmalloc.o | |
35 | |
36 ./a.out | |
OLD | NEW |