提交 9633f4e4 authored 作者: Frederic Bastien's avatar Frederic Bastien

print the command line when gcc failed.

上级 157f8795
...@@ -735,6 +735,7 @@ def gcc_module_compile_str(module_name, src_code, location=None, include_dirs=[] ...@@ -735,6 +735,7 @@ def gcc_module_compile_str(module_name, src_code, location=None, include_dirs=[]
#gcc put its messages to stderr, so we add ours now #gcc put its messages to stderr, so we add ours now
print >> sys.stderr, '%05i\t%s'%(i+1, l) print >> sys.stderr, '%05i\t%s'%(i+1, l)
print '===============================' print '==============================='
print >> sys.stderr, "command line:",' '.join(cmd)
raise Exception('g++ return status', status) raise Exception('g++ return status', status)
#touch the __init__ file #touch the __init__ file
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论