This series contains a few small fixes concerning OS-specific predefined macros or builtin types. For this, a new option is added: '--os=$OS', mainly to facilitate testing but also to avoid duplicated definition in cgcc. Finally, the now unneeded arguments are removed in cgcc. Luc Van Oostenryck (9): x86: reorg the target file arch: add an option to specify the OS: --os=$OS predefine: add __linux__ & __linux predefine: no __unix__ for Darwin x86: fixes types for NetBSD & OpenBSD sparc: char are unsigned on Solaris arch: add predefines for OS identification cygwin: add the predefines '__cdecl', ... cgcc: remove now unneeded options & defines cgcc | 32 +++++++------------------ machine.h | 1 + options.c | 11 +++++++++ predefine.c | 38 ++++++++++++++++++++++++++++-- sparse.1 | 10 ++++++++ target-sparc.c | 2 ++ target-x86.c | 63 ++++++++++++++++++++++++++++++++++++-------------- target.c | 29 +++++++++++++++++++++++ target.h | 1 + 9 files changed, 144 insertions(+), 43 deletions(-) -- 2.27.0