aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-tables.md
AgeCommit message (Collapse)AuthorFilesLines
2023-02-01add cc.has_function_attribute('vector_size')Dudemanguy1-0/+3
2023-01-10docs: Add ld64.lld to linker reference tableDylan Baker1-0/+1
I forgot to ask the original author to add this to the original MR (#11243)
2022-10-24basic support for oneapi compilersRobert Cohn1-0/+2
2022-10-24Add MASM compilerXavier Claessens1-1/+4
ml and armasm are Microsoft's Macro Assembler, part of MSVC.
2022-10-24Add missing doc for NASM languageXavier Claessens1-0/+4
2022-05-19Add cc.has_function_attribute('sentinel')Tristan Partin1-0/+1
2022-05-19Add cc.has_function_attribute('section')Tristan Partin1-0/+3
2022-04-30linkers: Add support for mold linkerFini Jastrow1-0/+1
[why] Support for the relatively new mold linker is missing. If someone wants to use mold as linker `LDFLAGS="-B/path/to/mold"` has to be added instead of the usual `CC_LD=mold meson ...` or `CXX_LD=mold meson ...`. [how] Allow `mold' as linker for clang and newer GCC versions (that versions that have support). The error message can be a bit off, because it is generic for all GNU like compilers, but I guess that is ok. (i.e. 'mold' is not listed as possible linker, even if it would be possible for the given compiler.) [note] GCC Version 12.0.1 is not sufficient to say `mold` is supported. The expected release with support will be 12.1.0. On the other hand people that use the un-released 12.0.1 will probably have built it from trunk. Allowing 12.0.1 is helping bleeding edge developers to use mold in Meson already now. Fixes: #9072 Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-02-02Genericise TI compiler and add MSP430 supportWilliam Toohey1-1/+4
2022-01-26docs: correct weakref typo in Reference-tables.mdArsen Arsenović1-1/+1
2022-01-26compilers/c_function_attributes: add retainArsen Arsenović1-0/+3
retain is a relatively young attribute which has proven itself useful for working with --gc-sections -z start-stop-gc.
2021-12-17add ft32 cpu familyRafael Silva1-0/+1
2021-10-10Fix typos discovered by codespellChristian Clauss1-2/+2
2021-06-07docs: Add cython docsDylan Baker1-10/+13
2021-05-18add cpu family cskyRandy Yates1-0/+1
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