aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-tables.md
AgeCommit message (Collapse)AuthorFilesLines
2021-02-06add loongarch supportXiaotian Wu1-0/+1
2021-01-31Capitalize "Meson" consistently as it is a proper name. [skip ci]Jussi Pakkanen1-4/+4
2021-01-30Rewrap long text lines in docs. [skip ci]Jussi Pakkanen1-26/+29
2020-09-15Add support for the CompCert C CompilerSebastian Meyer1-0/+2
* Add preliminary support for the CompCert C Compiler The intention is to use this with the picolibc, so some GCC flags are automatically filtered. Since CompCert uses GCC is for linking, those GCC-linker flags which are used by picolibc, are automatically prefixed with '-WUl', so that they're passed to GCC. Squashed commit of the following: commit 4e0ad66dca9de301d2e41e74aea4142afbd1da7d Author: Sebastian Meyer <meyer@absint.com> Date: Mon Aug 31 14:20:39 2020 +0200 remove '-fall' from default arguments, also filter -ftls-model=.* commit 41afa3ccc62ae72824eb319cb8b34b7e6693cb67 Author: Sebastian Meyer <meyer@absint.com> Date: Mon Aug 31 14:13:55 2020 +0200 use regex for filtering ccomp args commit d68d242d0ad22f8bf53923ce849da9b86b696a75 Author: Sebastian Meyer <meyer@absint.com> Date: Mon Aug 31 13:54:36 2020 +0200 filter some gcc arguments commit 982a01756266bddbbd211c54e8dbfa2f43dec38f Author: Sebastian Meyer <meyer@absint.com> Date: Fri Aug 28 15:03:14 2020 +0200 fix ccomp meson configuration commit dce0bea00b1caa094b1ed0c6c77cf6c12f0f58d9 Author: Sebastian Meyer <meyer@absint.com> Date: Thu Aug 27 13:02:19 2020 +0200 add CompCert to meson (does not fully work, yet) * remove unused import and s/cls/self/ fixes the two obvious LGTM warnings * CompCert: Do not ignore unsupported GCC flags Some are safe to ignore, however, as per https://github.com/mesonbuild/meson/pull/7674, they should not be ignored by meson itself. Instead the meson.build should take care to select only those which are actually supported by the compiler. * remove unused variable * Only add arguments once. * Apply suggestions from code review Co-authored-by: Dylan Baker <dylan@pnwbakers.com> * Remove erroneous ' ' from '-o {}'.format() As noticed by @dcbaker * added release note snippet for compcert * properly split parameters As suggested by @dcbaker, these parameters should be properly split into multiple strings. Co-authored-by: Dylan Baker <dylan@pnwbakers.com> * Update add_compcert_compiler.md Added a sentence about the state of the implementation (experimental); use proper markdown * properly separate arguments Co-authored-by: Dylan Baker <dylan@pnwbakers.com>
2020-07-13docMichael Hirsch, Ph.D1-0/+1
2020-06-21compiler: add 'force_align_arg_pointer' function attributeTim-Philipp Müller1-43/+46
2020-06-19envconfig: Add support SuperH SH-4Dylan Baker1-0/+1
Fixes: #7358
2020-06-19docs: Alphabetically sort the cpu_family reference tableDylan Baker1-3/+3
It's close, but not quite. This should make it easier to read
2020-06-12[skip ci] docs: Bring up to date on options per machineJohn Ericson1-1/+36
I tried to fix the docs when the stuff was added, but it turns out I missed things, as noted in https://github.com/mesonbuild/meson/issues/7284#issuecomment-641641177
2020-06-04Add android to os list informally. Closes #6233. [skip ci]Jussi Pakkanen1-0/+1
2020-05-11Add AVR to cpu families. Closes #7085.Jussi Pakkanen1-0/+1
2020-04-11References-tables.md: repair broken tableVanadiae1-1/+1
At https://mesonbuild.com/Reference-tables.html#compiler-and-linker-selection-variables, the table is broken and it seems that the only difference with other well-working tables on this page is the semi-column ":" that are present under Language.
2020-03-21-Add xc16 and c2000 C,Cpp toolchain supportalanNz1-2/+8
2020-03-17docs: Add Environment variables for compiler/linker selectionDylan Baker1-0/+19
We really should be documenting these in an easy to find and reference place.
2020-02-27compilers/linkers: Add a representation for wasm-ldDylan Baker1-1/+2
Emscripten does have a stand alone linker, wasm-ld. This patch adds the linker, adds detection for the linker, and removes the IsLinkerMixin for emscripten. This is a little more correct, and makes the code a lot cleaner and more robust.
2020-02-21linkers: Update the linker names to be more consistentDylan Baker1-14/+15
This makes two basic changes, 1 it moves the name of the linker into the linker class, this should reduce the number of errors and typos, and ensure that a linker always has one name. This then renames the linkers to have more consistent names. Posix/gnu linkers are called ld.<name>: ld.gold, ld.lld, ld.solaris. Apple linkers are renamed ld64.
2020-02-21docs: Fix reference table for linker namesDylan Baker1-10/+20
These are pretty much all over the place because I never intended them to be exposed to the meson source language, they were meant just for documentation.
2020-01-23Add m68k to known cpus for Motorola 68000 series processorsDylan Baker1-26/+27
Fixes #6492
2020-01-21docs: Fix typo in linkNiklas Hambüchen1-1/+1
Commit 1404f404 (#4744) introduced this typo, making the link not jump to the correct section when clicked.
2020-01-15Add s390 to list of known architecturesDylan Baker1-0/+1
Fixes #6411
2019-12-19add compiler.get_linker_id() methodMichael Hirsch, Ph.D1-4/+15
this can be useful for if/elif where linker behaviors must be considered. For example, clang with "link" vs gcc with "ld.bfd" etc. ci for compiler.get_linker_id() method doc add @FeatureNew check Co-Authored-By: Daniel Mensinger <daniel@mensinger-ka.de>
2019-11-11Add missing openbsd to the operating system names table [skip ci]yshui1-0/+1
2019-10-15envconfig: Add Alpha CPU familyMatt Turner1-0/+1
2019-09-26envconfig: Add MicroBlaze CPU familyNathan Rossi1-0/+1
Add the CPU family for the MicroBlaze processor. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
2019-09-09docs: Add sunos to the reference tableDylan Baker1-0/+1
I originally liked "solaris", but I've changed my mind. Both illumos (the open-source fork of OpenSolaris) and Oracle's closed-source Solaris are identified by the same token, and there are differences between them; so using "sunos" as a sort "supertype" for both makes sense to me.
2019-08-05Add basic Webassembly support via Emscripten.Jussi Pakkanen1-0/+4
2019-06-25Split attribute visibilityDylan Baker1-1/+11
* c_function_attributes: remove 'protected' from 'visibility' This doesn't exist on macos with the apple compiler, which always causes failures. Fixes #5530 * compilers: Add split visibility checks to has_function_attribute These check for a single visibility at a time, rather than all four at once. This allows for finer grained searches, and should make using these checks safer across operating systems.
2019-05-13docs/reference-table: Add intel-clDylan Baker1-23/+24
Because the Intel compiler behaves significantly differently on windows than it does on Linux and MacOS I've decided it would be better to follow the clang/clang-cl split and make id "intel-cl" on windows (leaving "intel" alone on Linux and Mac). Since we've never supported ICL and it hasn't worked in the past I think this is an okay change to make.
2019-03-04Add table for dependency method types. [skip ci]Jussi Pakkanen1-0/+15
2019-01-21Add PGI C and C++ compilers (#4803)Michael Hirsch, Ph.D1-1/+1
2019-01-16Flang Fortran compiler added.Michael Hirsch, Ph.D1-0/+1
2019-01-08docs: Add link args to the table of language args [skip ci]Dylan Baker1-12/+12
2019-01-08docs: document that using environment variables is discouraged [skip ci]Dylan Baker1-0/+6
2018-12-13Format Compiler and linker flag table [skip ci]lzutao1-0/+2
2018-12-11Add Renesas RL78 CPU family. Closes #4606.Jussi Pakkanen1-0/+1
2018-11-22[skip ci] Document CFLAGS and friends in main docsFloris Bruynooghe1-0/+13
Currently this is only partially documented in the quick-start guide, include this in the main docs and document all the environment argumens used.
2018-11-22docs: Alphabetically sort reference table rows [skip ci]Jon Turney1-31/+31
2018-11-22docs: Add clang-cl to reference table for compiler get_id() values [skip ci]Jon Turney1-0/+1
2018-11-08Add support for Renesas CC-RX toolchainPhillip Cao1-20/+22
2018-11-03Add new compiler.get_argument_syntax methodDylan Baker1-22/+23
Some compilers try very had to pretend they're another compiler (ICC pretends to be GCC and Linux and MacOS, and MSVC on windows), Clang behaves much like GCC, but now also has clang-cl, which behaves like MSVC. This method provides an easy way to determine whether testing for MSVC like arguments `/w1234` or gcc like arguments `-Wfoo` are likely to succeed, without having to check for dozens of compilers and the host operating system, (as you would otherwise have to do with ICC).
2018-10-27docs: Fix gcc attribute list link [skip ci]Nirbheek Chauhan1-1/+1
2018-10-10Add gnu hurd to *_machine informationDylan Baker1-0/+1
2018-10-02docs: Add note to cpu_family table about endianess [skip ci]Dylan Baker1-0/+5
Autotools will add endianess to the name of the architecture in some cases (such as ppc64le vs ppc64) meson doesn't do this. It's worth noting this in the documentation.
2018-09-23mesonbuild: Recognise ARC architectureAlexey Brodkin1-0/+1
-------------------------->8----------------------- root@nsimhs:~# python Python 2.7.15 (default, Sep 20 2018, 21:44:15) [GCC 8.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> >>> import platform >>> print platform.machine() arc -------------------------->8----------------------- Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-09-07Add method to check for C/C++ function attributesDylan Baker1-0/+63
It's fairly common on Linux and *BSD platforms to check for these attributes existence, so it makes sense to me to have this checking build into meson itself. Autotools also has a builtin for handling these, and by building them in we can short circuit cases that we know that these don't exist (MSVC). Additionally this adds support for two common MSVC __declspec attributes, dllimport and dllexport. This implements the declspec version (even though GCC has an __attribute__ version that both it and clang support), since GCC and Clang support the MSVC version as well. Thus it seems reasonable to assume that most projects will use the __declspec version over teh __attribute__ version.
2018-08-27Add support for custom dist scripts.Jussi Pakkanen1-0/+2
2018-08-11Add support for s390x CPUs. Closes #3897.Jussi Pakkanen1-0/+1
2018-08-03Add 32 bit sparc processor support. Closes #3901.Jussi Pakkanen1-0/+1
2018-07-21mesonbuild: Recognise risc-v architectureKhem Raj1-0/+2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-07Canonicalise 64-bit PowerPC CPU families to "ppc64"Ross Burton1-3/+2
Instead of exposing the endianness in the CPU family, canonicalise the CPU family to just "ppc64" to match MIPS (which is also bi-endian). Part of the work for #3842.