Commit Graph

32 Commits

Author SHA1 Message Date
Jussi Pakkanen c58dd64f8e Merged Arm CC support. 2018-04-16 23:02:09 +03:00
Jussi Pakkanen c72b4e1b9c Imported Debian fixes by Matthias Klose. 2018-04-02 14:12:34 +03:00
Somasekhar Penugonda e62b8109eb Updates to CPP support and update review changes 2018-03-27 17:04:26 -05:00
Somasekhar Penugonda a470835778 Meson Github pull request - 3186 requested changes
- Fixing flake8 error in compilers.py - [E124] closing bracket does not match visual indentation
- Updating ARMCCompiler constructor in c.py to raise error as per comments
2018-03-07 17:42:53 -06:00
Adam C. Foltzer 1d81efb03d Add cross-compilation support for `rustc`
This patch is largely modeled on the relatively-straightforward code
for Fortran cross-compilation, so there might be some intricacies
missing.
2018-01-29 15:47:05 -08:00
Jussi Pakkanen a4db467669 Use GCC 7 for cross compilation tests. 2017-10-28 21:38:09 +03:00
Ole André Vadla Ravnås c352c34ff1 cross: Fix host_machine.system in the example iphone cross config. 2017-05-21 21:20:39 +03:00
Nirbheek Chauhan 42267f2afa Always pass cross-file {lang}_args to compiler checks
Includes a test for this that will only run on the CI.

Closes https://github.com/mesonbuild/meson/issues/1665
2017-04-27 18:36:54 +03:00
Jussi Pakkanen 2b65083463 Fix cross test and run them if a cross compiler is available. 2016-12-20 20:33:59 +02:00
Jussi Pakkanen 695aa0b8c2 Made cstdlib a subproject. 2016-05-21 19:35:36 +03:00
Jussi Pakkanen 53e90acda9 Fix Vala cross compilation. Closes #370. 2016-02-17 22:15:32 +02:00
Jussi Pakkanen 572ce0f451 Added cpu family property to system information. 2015-10-18 01:08:04 +03:00
Jussi Pakkanen 2e3bd006d3 Converted alignment check to work also when cross compiling. 2015-09-05 15:17:02 +03:00
Jussi Pakkanen ad5795ed2e Converted sizeof check to work also when cross compiling. 2015-09-05 15:03:20 +03:00
Jussi Pakkanen 2c5688445b Created iphone cross file and made it possible to specify compile and link args in the cross file. 2015-09-05 14:22:56 +03:00
Jussi Pakkanen 78739afd9c Use system() instead of name() which is a confusing term. 2015-08-16 23:32:39 +03:00
Igor Gnatenko ca8d25f832 make consistent style 2015-07-28 01:11:32 +03:00
Jussi Pakkanen 642db009a3 Cleanups. 2015-07-28 01:01:30 +03:00
Jussi Pakkanen 30d0c2292f Support target-only cross compilation properly. 2015-07-27 00:55:28 +03:00
Jussi Pakkanen 463d08d545 Now host_machine, build_machine and target_machine are properly separated and return correct values. 2015-07-27 00:55:27 +03:00
Jussi Pakkanen eb3cdb6f8d Changed cross compilation file to new format. 2015-07-27 00:54:40 +03:00
Jussi Pakkanen bf02849d59 Use cross file's pkgconfig binary when cross compiling. Closes #138. 2015-06-06 22:02:37 +03:00
Jussi Pakkanen 8be84a4a7c Some more cross tweaking. 2015-05-09 16:32:36 +03:00
Jussi Pakkanen 572587f5ce Fix cross compilation tests. 2015-05-09 16:17:20 +03:00
Jussi Pakkanen 6eb4474349 Fix ARM strip binary path. 2013-08-31 01:05:35 +03:00
Jussi Pakkanen 52ed7fd8f8 Can build both cross and native binaries at the same time. 2013-08-30 22:51:14 +03:00
Jussi Pakkanen 195fb0d967 Get alignment from cross file. 2013-08-24 23:40:11 +03:00
Jussi Pakkanen 21e4fcc6b0 Get has_function from cross file. 2013-08-24 23:32:13 +03:00
Jussi Pakkanen 2117814826 Get sizeof info from cross file if it exists and write an error if it can not be determined. 2013-08-24 23:10:44 +03:00
Jussi Pakkanen 6780050cbf Run cross build tests with exe wrapper. 2013-08-23 23:52:17 +03:00
Jussi Pakkanen 354bdca920 Can generate a very simple cross environment. 2013-08-23 23:36:08 +03:00
Jussi Pakkanen 5d38cbfade A journey to cross-compilation starts with a single step. 2013-08-23 23:05:22 +03:00