aboutsummaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)Author
2024-04-23configure: Set DEFAULT_DYNAMIC_LINKER for riscv64-linux-gnuMichael Forney
2024-03-24Add support for C23 attribute syntaxMichael Forney
Currently, all attributes are ignored. References: https://todo.sr.ht/~mcf/cproc/68
2022-05-19Add unreachable returns to silence compiler warningsMichael Forney
2022-02-10Add -Wno-maybe-uninitialized to prevent false-positive warningsMichael Forney
2022-01-22Port to C99Michael Forney
2021-09-14configure: Undefine __PIC__Michael Forney
QBE doesn't emit position-independent code, so we don't want __PIC__ defined if the preprocessor does by default.
2021-09-06configure: Drop -E from preprocesscmdMichael Forney
We are already using cpp here, so -E is redundant.
2021-09-02pp: Implement #line directives and gcc line markersMichael Forney
Fixes #66.
2021-06-16Add initial NetBSD supportMichael Forney
2021-04-23Make some static data constMichael Forney
2021-04-21Add support for riscv64 targetMichael Forney
QBE support isn't quite there yet, but is progressing smoothly.
2020-09-05Add -nopie to linker flags on OpenBSDMichael Forney
The OpenBSD linker defaults to PIE, but QBE does not yet support generating position-independent code.
2020-04-19Add install target to MakefileMichael Forney
2020-02-24Enable -Wpedantic by defaultMichael Forney
2019-06-30configure: Undefine __SIZEOF_INT128__Michael Forney
We don't yet support __int128.
2019-06-27Pass target to cc-qbeMichael Forney
2019-05-28configure: Add some defines necessary for OpenBSDMichael Forney
2019-05-28configure: Use /usr/libexec/cpp on OpenBSDMichael Forney
2019-05-21Handle alternate keywords in the compiler itselfMichael Forney
2019-05-20Don't pass -std=c11 and -D __STRICT_ANSI__ to cpp by defaultMichael Forney
This was necessary to prevent glibc from using statement expressions when we defined __GNUC__, but this was reverted in 0df54a9f.
2019-05-19Don't define __GNUC__Michael Forney
This causes more problems (inline asm, GNU inline semantics, etc) than it solves (alloca).
2019-05-15Add __signed alternate keywordMichael Forney
2019-05-14Fix duplicate commaMichael Forney
2019-05-14configure: Handle empty but set DEFAULT_DYNAMIC_LINKER as no flag necessaryMichael Forney
This should address issues with configure on NixOS (#27).
2019-05-14configure: Clear some variables before we conditionally set themMichael Forney
2019-05-14Add __asm as an alternate keyword for __asm__Michael Forney
2019-05-13Add initial support for OpenBSD in configureMichael Forney
2019-05-09Add alternate __volatile__ keywordMichael Forney
2019-05-09Fix ordering of endfilesMichael Forney
-lc should come before crtn.o.
2019-05-08Fix spacingMichael Forney
2019-05-08configure: Add tool prefix when building a cross-compilerMichael Forney
2019-05-08configure: Make dynamic linker configurableMichael Forney
2019-04-26Replace config.def.h with a configure scriptMichael Forney