projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5fad95
)
scons: Request the stabs debug info format for Mingw.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 26 Jan 2009 20:16:36 +0000
(20:16 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 26 Jan 2009 20:28:04 +0000
(20:28 +0000)
Mingw gdb apparently chokes on dwarf debug info.
scons/crossmingw.py
patch
|
blob
|
history
diff --git
a/scons/crossmingw.py
b/scons/crossmingw.py
index 53b4d2e47d4e5bde0168c41fa865aded9fb749e5..bf81f16fd6404f5b981be197caa19d453ec9499b 100644
(file)
--- a/
scons/crossmingw.py
+++ b/
scons/crossmingw.py
@@
-173,6
+173,10
@@
def generate(env):
env['LIBPREFIXES'] = [ 'lib', '' ]
env['LIBSUFFIXES'] = [ '.a', '.lib' ]
+ # MinGW port of gdb does not handle well dwarf debug info which is the
+ # default in recent gcc versions
+ env.AppendUnique(CFLAGS = ['-gstabs'])
+
env.AppendUnique(LIBS = ['iberty'])
env.AppendUnique(SHLINKFLAGS = ['-Wl,--enable-stdcall-fixup'])
#env.AppendUnique(SHLINKFLAGS = ['-Wl,--kill-at'])