mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 11:52:22 -07:00
arm32 now compiles and runs demo
This commit is contained in:
+11
-1
@@ -972,7 +972,7 @@ gb_global TargetMetrics target_linux_arm32 = {
|
||||
TargetOs_linux,
|
||||
TargetArch_arm32,
|
||||
4, 4, 4, 8,
|
||||
str_lit("arm-linux-gnu"),
|
||||
str_lit("arm-unknown-linux-gnueabihf"),
|
||||
};
|
||||
|
||||
gb_global TargetMetrics target_darwin_amd64 = {
|
||||
@@ -1890,6 +1890,16 @@ gb_internal void init_build_context(TargetMetrics *cross_target, Subtarget subta
|
||||
#else
|
||||
metrics = &target_linux_amd64;
|
||||
#endif
|
||||
#elif defined(GB_CPU_ARM)
|
||||
#if defined(GB_SYSTEM_WINDOWS)
|
||||
#error "Build Error: Unsupported architecture"
|
||||
#elif defined(GB_SYSTEM_OSX)
|
||||
#error "Build Error: Unsupported architecture"
|
||||
#elif defined(GB_SYSTEM_FREEBSD)
|
||||
#error "Build Error: Unsupported architecture"
|
||||
#else
|
||||
metrics = &target_linux_arm32;
|
||||
#endif
|
||||
#else
|
||||
#if defined(GB_SYSTEM_WINDOWS)
|
||||
metrics = &target_windows_i386;
|
||||
|
||||
Reference in New Issue
Block a user