diff options
| author | Zac Pierson <zacpiersonhehe@gmail.com> | 2017-02-15 10:21:38 -0600 |
|---|---|---|
| committer | Zac Pierson <zacpiersonhehe@gmail.com> | 2017-02-15 10:21:38 -0600 |
| commit | aaa4dd5c363f2cb4643cd6489108d5be7c9d17de (patch) | |
| tree | cb6b93596135d2a7f868acc73fcea1536e3d7ab9 /src/build_settings.c | |
| parent | 9d19ee7e4c285d5d881570be3328d81bdff40368 (diff) | |
| parent | 71100ed427ee2eec8d8a9d4d9616102738097e80 (diff) | |
Merge https://github.com/gingerBill/odin
Diffstat (limited to 'src/build_settings.c')
| -rw-r--r-- | src/build_settings.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/build_settings.c b/src/build_settings.c index 2409db9aa..c50150827 100644 --- a/src/build_settings.c +++ b/src/build_settings.c @@ -1,4 +1,6 @@ +// This stores the information for the specify architecture of this build typedef struct BuildContext { + // Constants String ODIN_OS; // target operating system String ODIN_ARCH; // target architecture String ODIN_ENDIAN; // target endian @@ -6,8 +8,10 @@ typedef struct BuildContext { String ODIN_VERSION; // compiler version String ODIN_ROOT; // Odin ROOT - i64 word_size; - i64 max_align; + // In bytes + i64 word_size; // Size of a pointer, must be >= 4 + i64 max_align; // max alignment, must be >= 1 (and typically >= word_size) + String llc_flags; String link_flags; bool is_dll; |