1
0
mirror of https://github.com/ThrowTheSwitch/Unity synced 2025-05-16 01:39:33 -04:00

Change gcc.yml default to gcc_32.yml (explicitly compile for 32-bit target)

This commit is contained in:
Scott Vokes 2012-04-27 11:53:12 -04:00
parent d0c3f24f4d
commit 4742b5d77a
3 changed files with 4 additions and 7 deletions

@ -25,7 +25,7 @@ task :prepare_for_tests => TEMP_DIRS
include RakefileHelpers
# Load default configuration, for now
DEFAULT_CONFIG_FILE = 'gcc.yml'
DEFAULT_CONFIG_FILE = 'gcc_32.yml'
configure_toolchain(DEFAULT_CONFIG_FILE)
desc "Test unity with its own unit tests"

@ -72,11 +72,7 @@ typedef _US64 _U_SINT;
//-------------------------------------------------------
#ifndef UNITY_POINTER_WIDTH
#ifdef UNITY_SUPPORT_64
#define UNITY_POINTER_WIDTH (64)
#else
#define UNITY_POINTER_WIDTH (32)
#endif
#endif /* UNITY_POINTER_WIDTH */
#if (UNITY_POINTER_WIDTH == 32)

@ -5,6 +5,7 @@ compiler:
build_path: &build_path 'build/'
options:
- '-c'
- '-m32'
- '-Wall'
- '-Wno-address'
- '-std=c99'
@ -18,7 +19,6 @@ compiler:
defines:
prefix: '-D'
items:
- UNITY_SUPPORT_64
- UNITY_INCLUDE_DOUBLE
- UNITY_SUPPORT_TEST_CASES
object_files:
@ -29,6 +29,7 @@ linker:
path: gcc
options:
- -lm
- '-m32'
includes:
prefix: '-I'
object_files:
@ -40,4 +41,4 @@ linker:
destination: *build_path
colour: true
:unity:
:plugins: []
:plugins: []