apenwarr-redo/docs/cookbook
Avery Pennarun bdb8d8a27d redoconf: better handling of required vs optional detectors.
CC.rc was the only "mandatory" detection, which was weird and
inconsistent.  Instead, make it optional like the others, and have it
set a HAVE_CC variable appropriately (and have CXX.rc work the same
way).  Then, add a default.required.rc.od that checks the HAVE_* for
any variable and aborts if it is not available.

This allows us to fix confusing behaviour in allconfig.do, which would
try every compiler on the system, but redo would print a (non-fatal)
error message (and prevent redo-stamp optimization) when CC.rc failed
for any non-working compilers.  Now CC.rc just politely reports that it
didn't find a compiler.  Then we change all.rc.od to make CC.rc
mandatory.

Reported-by: Nathaniel Filardo <nwfilardo@gmail.com>
2019-02-23 16:51:25 -05:00
..
c redoconf: better handling of required vs optional detectors. 2019-02-23 16:51:25 -05:00
container cookbook/container/kvm: better handling of \r\n line endings. 2019-02-20 19:14:37 -05:00
defaults Directory reorg: move code into redo/, generate binaries in bin/. 2018-12-04 02:53:40 -05:00
hello Directory reorg: move code into redo/, generate binaries in bin/. 2018-12-04 02:53:40 -05:00
latex Directory reorg: move code into redo/, generate binaries in bin/. 2018-12-04 02:53:40 -05:00
all.do Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
clean.do cookbook/container: example of building+running docker containers. 2019-01-08 01:42:33 -05:00