aboutsummaryrefslogtreecommitdiff
path: root/doc/software.md
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-07-07 21:07:44 -0700
committerMichael Forney <mforney@mforney.org>2019-07-07 21:10:44 -0700
commitf2e5c6f529c1ff6e22325b19b9c40cfc55147e54 (patch)
tree40cd9e0c667fd58a31eb89c7c77b20ee70cab2b7 /doc/software.md
parent3f8a5efa9f94090dfc4f171858b5ed6812109289 (diff)
Update binutils/gcc patch branch and descriptions
Diffstat (limited to 'doc/software.md')
-rw-r--r--doc/software.md19
1 files changed, 5 insertions, 14 deletions
diff --git a/doc/software.md b/doc/software.md
index ad84d86..2f637c2 100644
--- a/doc/software.md
+++ b/doc/software.md
@@ -24,35 +24,26 @@ things will break if any functions with `long double` get called.
```
Requires several patches available here:
-https://github.com/michaelforney/binutils-gdb/tree/cc-fixes
+https://github.com/michaelforney/binutils-gdb/tree/cproc-fixes
- Fix function pointer subtraction in `bfd/doc/chew.c` (applied upstream).
-- Skip unsupported `LDFLAGS`, only tested to work against `CXX` by
- configure, but applied to `CC` as well.
- Disable `long double` support in `_bfd_doprnt`.
-- Alter some ifdefs to avoid statement expressions and VLAs.
+- Alter an ifdef to avoid VLAs when `__STDC_NO_VLA__` is defined.
- Implement `pex_unix_exec_child` with `posix_spawn` instead of `vfork`
and subtle `volatile` usage.
-- Make `regcomp` and `regexec` match the header declaration in usage of
- `restrict`.
-- Don't declare `vasprintf` unless it was checked for and not
- found (applied to libiberty upstream).
-- Make sure `config.h` is included in `arlex.c` so that the appropriate
- feature-test macros get defined to expose `strdup`.
Configure with
```
-./configure CFLAGS_FOR_BUILD=-D_GNU_SOURCE \
- --disable-intl --disable-gdb --disable-plugins --disable-readline
+./configure --disable-gdb --disable-plugins --disable-readline
```
[f6a7d135]: https://git.sr.ht/~mcf/qbe/commit/f6a7d135d54f5281547f20cc4f72a5e85862157c
## gcc 4.7
-Requires a number patches available here:
-https://github.com/michaelforney/gcc/tree/cc-fixes
+Requires a number of patches available here:
+https://github.com/michaelforney/gcc/tree/cproc-fixes
Also requires gmp headers modified for C99 inline semantics:
https://hg.sr.ht/~mcf/gmp-6.1/rev/53195faa26dfeafeacd57f54035373988e2a16a3