Make some fixes for libcxx

This change figures out some of the build configuration issues we've
been having with libcxx. The c++ span header is added. Per a Discord
discussion we're now turning off `-g` for the default build mode, so
consider using `make MODE=dbg` or `make MODE=zero` for GDB debugging
which works much better than `MODE=` ever has. Note that the default
build mode has always had very good function call / system call logs
plus you can still use ShowCrashReports() for backtrace. Making this
change ensures cosmocc will better conform to FOSS norms. Lastly the
LoadZipArgs() API has been added to cosmopolitan.a and <cosmo.h>.
This commit is contained in:
Justine Tunney 2023-07-07 19:25:13 -07:00
parent 3a8579252d
commit a092fda388
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
18 changed files with 636 additions and 29 deletions

View file

@ -44,6 +44,7 @@
#include "libc/x/xsigaction.h"
#include "libc/zip.internal.h"
#include "libc/zipos/zipos.internal.h"
#include "third_party/getopt/getopt.internal.h"
#include "third_party/libcxx/vector"
#include "tool/viz/lib/knobs.h"