aboutsummaryrefslogtreecommitdiff
path: root/driver.c
AgeCommit message (Collapse)Author
2020-01-30driver: Allow preprocessing C headersMichael Forney
2019-11-20driver: Pass -std=* through to the preprocessorMichael Forney
This will prevent the preprocessor from defining several unreserved identifiers when built with an ISO C language standard, which may conflict with identifiers used by the program being built.
2019-11-17driver: phase -> stageMichael Forney
2019-11-17driver: Preprocess assembly files with .S extensionMichael Forney
2019-08-17driver: Use LEN(phases) instead of NPHASESMichael Forney
2019-07-07driver: Print error message when run with unsupported targetMichael Forney
2019-07-05Rename to cprocMichael Forney
Fixes #4
2019-07-05driver: Ignore -P flagMichael Forney
We don't emit any #line directives, so nothing needs to be done to handle this flag.
2019-06-27Pass target to cc-qbeMichael Forney
2019-06-17driver: Add some more dependency handling optionsMichael Forney
2019-05-20driver: Avoid pipe2 for now, it is not yet standardizedMichael Forney
pipe2 is accepted for the next POSIX, but this is not yet released, and some platforms (in particular macOS) do not yet support it.
2019-05-14driver: Allow empty start/end filesMichael Forney
Since empty arrays are not allowed, use a single element array containing NULL pointer to specify this.
2019-05-13driver: Add verbose modeMichael Forney
2019-04-26Remove compilecmd from config.hMichael Forney
We replace it with one derived from the driver path anyway.
2019-04-17driver: Use arrayforeachMichael Forney
2019-04-07driver: Use argv[0] to determine cc-qbe path if /proc/self/exe is not availableMichael Forney
2019-04-07driver: Make sure we have room for the '\0' byteMichael Forney
2019-04-06driver: Include signal.h for kill(2)Michael Forney
2019-03-01Add -M and -MM to support our own makefile.Andrew Chambers
2019-02-24driver: Fix -E with no output specifiedMichael Forney
2019-02-21driver: Create output files in current directoryMichael Forney
2019-02-21driver: Fix -o -Michael Forney
We need to distinguish between no output specified, and output specified to be standard out.
2019-02-20driver: Various improvementsMichael Forney
Use an input struct to keep track of information about an input. When creating an output name from an input with no extension, make sure to add a `.`. When linking, write intermediate objects to temporary files and remove them afterwards. Allow specifying language of input using `-x` flag. Allow reading from standard input by passing `-`.
2019-02-13driver: Remove debug printfMichael Forney
2019-02-13driver: Ignore -std= and -pedanticMichael Forney
2019-02-13driver: Pass -idirafter to preprocessorMichael Forney
2019-02-12driver: Ignore -pipe flagMichael Forney
2019-02-12driver: Ignore -g flagMichael Forney
2019-02-12Initial importMichael Forney