forked from mesonbuild/meson
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created iphone cross file and made it possible to specify compile and…
… link args in the cross file.
- Loading branch information
Showing
3 changed files
with
59 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This is a cross compilation file from OSX Yosemite to iPhone | ||
# Apple keeps changing the location and names of files so | ||
# these might not work for you. Use the googels and xcrun. | ||
|
||
[binaries] | ||
c = 'clang' | ||
cpp = 'clang++' | ||
ar = 'ar' | ||
strip = 'strip' | ||
|
||
[properties] | ||
root = '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer' | ||
|
||
c_args = ['-arch', 'armv7', '-miphoneos-version-min=8.0', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk'] | ||
cpp_args = ['-arch', 'armv7', '-miphoneos-version-min=8.0', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk'] | ||
c_link_args = ['-arch', 'armv7', '-miphoneos-version-min=8.0', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk'] | ||
cpp_link_args = ['-arch', 'armv7', '-miphoneos-version-min=8.0', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk'] | ||
|
||
sizeof_int = 4 | ||
sizeof_wchar_t = 4 | ||
sizeof_void* = 4 | ||
|
||
alignment_char = 1 | ||
alignment_void* = 4 | ||
alignment_double = 4 # Don't know if this is correct... | ||
|
||
has_function_printf = true | ||
has_function_hfkerhisadf = false | ||
|
||
[host_machine] | ||
system = 'ios' | ||
cpu = 'armv7' | ||
endian = 'little' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters