summaryrefslogtreecommitdiff
path: root/bsp/simulator/rtconfig.py
diff options
context:
space:
mode:
authorprife <[email protected]>2013-02-27 00:37:57 +0800
committerprife <[email protected]>2013-02-27 00:37:57 +0800
commita64ec10e68cbc17db2aaf736205cda2ada45ac65 (patch)
tree161c30f2da7bd289b104a86d5393a3263817c3eb /bsp/simulator/rtconfig.py
parent242574a36ff05d6d109c09144b6f7fab8c88c407 (diff)
app module support for simlator, first version
Diffstat (limited to 'bsp/simulator/rtconfig.py')
-rwxr-xr-xbsp/simulator/rtconfig.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsp/simulator/rtconfig.py b/bsp/simulator/rtconfig.py
index 3d0c641ef6..2b396c5455 100755
--- a/bsp/simulator/rtconfig.py
+++ b/bsp/simulator/rtconfig.py
@@ -71,10 +71,10 @@ elif PLATFORM == 'mingw':
DEVICE = ' -ffunction-sections -fdata-sections'
DEVICE = ' '
- CFLAGS = ' -Wl,--output-def '
+ CFLAGS = DEVICE
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp'
- #LFLAGS = DEVICE + ' -Wl,-Map=rtthread-win32.map -T mingw.ld'
- LFLAGS = DEVICE + ' -Wl,-Map=rtthread-win32.map --gc-sections,--whole-archive -T mingw.ld '
+ DEFFILE_LFLAGS = DEVICE + ' -Wl,-Map=rtthread-win32.map,--output-def,rtthread.def -T mingw.ld '
+ LFLAGS = DEVICE + ' -Wl,-Map=rtthread-win32.map -T mingw.ld '
CPATH = ''
LPATH = ''