提交 ff215665 编写于 作者: G Greg Williams

Updated to autodetect 32 or 64 bit and use proper gcc

上级 78db7b19
......@@ -24,8 +24,13 @@ task :prepare_for_tests => TEMP_DIRS
include RakefileHelpers
# Load default configuration, for now
DEFAULT_CONFIG_FILE = 'gcc_32.yml'
# Load proper GCC as defult configuration
if 1.size == 8 # 8 bytes => 64-bits
DEFAULT_CONFIG_FILE = 'gcc_64.yml'
else # Assume 32-bit otherwise
DEFAULT_CONFIG_FILE = 'gcc_32.yml'
end
configure_toolchain(DEFAULT_CONFIG_FILE)
desc "Test unity with its own unit tests"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册