path: root/ir/be/machine_triple.c
Commit message (Collapse)AuthorAge
* Recognize AArch64 as host cpu type.Manuel Mohr2021-03-04
* be: Allow compiling on unknown/unsupported hosts.Christoph Mallon2019-03-19
| | | | | Compiling on an unknown/unsupported host architecture failed with #error. Now allow it and use "unknown" as architecture to at least enable cross compiling.
* be: Also detect MIPS and RISC-V hosts.Christoph Mallon2019-03-19
* Add OpenBSD support.Brian Callahan2018-05-18
* Rework target initialization and queryMatthias Braun2017-02-20
- Moves machine triple handling code form cparser into libfirm - Create new APIs to set the target and query information about it - Move backend_params into the new target API - Backends initialize ir_target instead of backend_params now - Add new API to get information about the target platform: - Mangle a name for the target platform (and remove compilerlib mangling callback) - Can query size and alignment of basic C types for the platform - Move some constant target information into arch_isa_if_t (we move it to target_info_t later when we realize it needs to be dynamic) - Redo backend initialization. Examples: Simple case: Initialize for host: ir_init(); Complex case: cross-compile to sparc with PIC enabled: ir_init_library(); ir_target_set("sparc-leon-linux-gnu"); ir_target_option("pic"); ir_target_init();