fix the link bug in bsp/simulator

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2423 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
goprife@gmail.com 2012-11-17 05:18:06 +00:00
parent df249c467d
commit 14709082a5
2 changed files with 12 additions and 12 deletions

View File

@ -14,7 +14,7 @@ if os.getenv('RTT_RTGUI'):
else: else:
# set the rtgui root directory by hand # set the rtgui root directory by hand
# empty string means use the RTGUI in svn # empty string means use the RTGUI in svn
#RTT_RTGUI = os.path.normpath('F:/Project/git/rt-gui') # RTT_RTGUI = os.path.normpath('F:/Project/git/rt-gui')
RTT_RTGUI ='' RTT_RTGUI =''
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')] sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
@ -28,10 +28,7 @@ Export('RTT_ROOT')
Export('rtconfig') Export('rtconfig')
libs = Split(''' libs = Split('''
kernel32
msvcrt
winmm winmm
user32
gdi32 gdi32
winspool winspool
comdlg32 comdlg32

View File

@ -58,17 +58,20 @@ elif PLATFORM == 'cl':
AR = PREFIX + 'cl' AR = PREFIX + 'cl'
LINK = PREFIX + 'cl' LINK = PREFIX + 'cl'
AFLAGS = '' AFLAGS = ''
CFLAGS = ''
LFLAGS = ''
CFLAGS = '/MT /ZI /Od /W 3 /WL ' if BUILD == 'debug':
#LFLAGS = '/SUBSYSTEM:WINDOWS /NODEFAULTLIB /MACHINE:X86 /DEBUG' CFLAGS += ' /MTd'
LFLAGS = '/SUBSYSTEM:CONSOLE /NODEFAULTLIB /MACHINE:X86 ' LFLAGS += ' /DEBUG'
else:
CFLAGS += ' /MT'
LFLAGS += ''
CFLAGS += ' /ZI /Od /W 3 /WL '
LFLAGS += ' /SUBSYSTEM:CONSOLE /MACHINE:X86 '
CPATH = '' CPATH = ''
LPATH = '' LPATH = ''
if BUILD == 'debug':
CFLAGS += ' /DEBUG'
else:
CFLAGS += ''
POST_ACTION = '' POST_ACTION = ''