support other arch rather than x86, remove x86 spcified arguments for gc... #98
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
gcc不支持-m32的原因是我是在arm上执行的gcc, -m32 -m64 -mcx16等都是x86架构专有的参数.
现在通过platform.architecture()来获取位数,并且参考platform.machine()来判断架构. 如果不是x86则不对CC, CXX, CPP, LD加入-mXX及-mcx16等参数, 并且不对AS加入-32或-64
测试之前好像有8个不通过, 不太熟悉代码, 没修.. 把新加代码break的一个测试改了改