Fix regression with last commit

This commit is contained in:
Justine Tunney 2024-07-20 16:43:48 -07:00
parent d3f87f4c64
commit d3167126aa
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
5 changed files with 12 additions and 12 deletions

View file

@ -436,6 +436,9 @@ loc: o/$(MODE)/tool/build/summy
# PLEASE: MAINTAIN TOPOLOGICAL ORDER # PLEASE: MAINTAIN TOPOLOGICAL ORDER
# FROM HIGHEST LEVEL TO LOWEST LEVEL # FROM HIGHEST LEVEL TO LOWEST LEVEL
COSMOPOLITAN_OBJECTS = \ COSMOPOLITAN_OBJECTS = \
CTL \
THIRD_PARTY_DOUBLECONVERSION \
THIRD_PARTY_OPENMP \
TOOL_ARGS \ TOOL_ARGS \
NET_HTTP \ NET_HTTP \
LIBC_SOCK \ LIBC_SOCK \
@ -445,7 +448,6 @@ COSMOPOLITAN_OBJECTS = \
THIRD_PARTY_GETOPT \ THIRD_PARTY_GETOPT \
LIBC_LOG \ LIBC_LOG \
THIRD_PARTY_TZ \ THIRD_PARTY_TZ \
THIRD_PARTY_OPENMP \
THIRD_PARTY_MUSL \ THIRD_PARTY_MUSL \
THIRD_PARTY_ZLIB_GZ \ THIRD_PARTY_ZLIB_GZ \
THIRD_PARTY_LIBCXXABI \ THIRD_PARTY_LIBCXXABI \
@ -456,7 +458,6 @@ COSMOPOLITAN_OBJECTS = \
LIBC_THREAD \ LIBC_THREAD \
LIBC_PROC \ LIBC_PROC \
THIRD_PARTY_NSYNC_MEM \ THIRD_PARTY_NSYNC_MEM \
CTL \
LIBC_MEM \ LIBC_MEM \
THIRD_PARTY_DLMALLOC \ THIRD_PARTY_DLMALLOC \
LIBC_DLOPEN \ LIBC_DLOPEN \

View file

@ -39,6 +39,7 @@ EXAMPLES_BINS = \
$(EXAMPLES_COMS:%=%.dbg) $(EXAMPLES_COMS:%=%.dbg)
EXAMPLES_DIRECTDEPS = \ EXAMPLES_DIRECTDEPS = \
CTL \
DSP_CORE \ DSP_CORE \
DSP_SCALE \ DSP_SCALE \
DSP_TTY \ DSP_TTY \

6
examples/helloplus.cc Normal file
View file

@ -0,0 +1,6 @@
#include "ctl/ostream.h"
int main(int argc, char* argv[]) {
ctl::cout << "hello world\n";
return 0;
}

View file

@ -16,15 +16,9 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE. PERFORMANCE OF THIS SOFTWARE.
*/ */
#include "ape/sections.internal.h"
#include "libc/atomic.h"
#include "libc/calls/blockcancel.internal.h"
#include "libc/calls/calls.h" #include "libc/calls/calls.h"
#include "libc/calls/internal.h" #include "libc/calls/internal.h"
#include "libc/calls/state.internal.h"
#include "libc/calls/struct/sigset.internal.h"
#include "libc/calls/syscall-sysv.internal.h" #include "libc/calls/syscall-sysv.internal.h"
#include "libc/cosmo.h"
#include "libc/dce.h" #include "libc/dce.h"
#include "libc/errno.h" #include "libc/errno.h"
#include "libc/intrin/atomic.h" #include "libc/intrin/atomic.h"
@ -34,22 +28,19 @@
#include "libc/intrin/kprintf.h" #include "libc/intrin/kprintf.h"
#include "libc/intrin/maps.h" #include "libc/intrin/maps.h"
#include "libc/intrin/strace.h" #include "libc/intrin/strace.h"
#include "libc/intrin/tree.h"
#include "libc/intrin/weaken.h" #include "libc/intrin/weaken.h"
#include "libc/nt/memory.h" #include "libc/nt/memory.h"
#include "libc/nt/runtime.h" #include "libc/nt/runtime.h"
#include "libc/runtime/runtime.h" #include "libc/runtime/runtime.h"
#include "libc/runtime/stack.h"
#include "libc/runtime/zipos.internal.h" #include "libc/runtime/zipos.internal.h"
#include "libc/stdio/rand.h" #include "libc/stdio/rand.h"
#include "libc/stdio/sysparam.h" #include "libc/stdio/sysparam.h"
#include "libc/sysv/consts/auxv.h"
#include "libc/sysv/consts/map.h" #include "libc/sysv/consts/map.h"
#include "libc/sysv/consts/mremap.h" #include "libc/sysv/consts/mremap.h"
#include "libc/sysv/consts/o.h" #include "libc/sysv/consts/o.h"
#include "libc/sysv/consts/prot.h" #include "libc/sysv/consts/prot.h"
#include "libc/sysv/errfuns.h" #include "libc/sysv/errfuns.h"
#include "libc/thread/thread.h"
#include "libc/thread/tls.h"
#define MMDEBUG IsModeDbg() #define MMDEBUG IsModeDbg()
#define MAX_SIZE 0x0ff800000000ul #define MAX_SIZE 0x0ff800000000ul

View file

@ -48,6 +48,7 @@ make -j64 m=$AMD64 \
o/$AMD64/tool/build/chmod.dbg \ o/$AMD64/tool/build/chmod.dbg \
o/$AMD64/tool/build/cocmd.dbg \ o/$AMD64/tool/build/cocmd.dbg \
o/$AMD64/tool/build/compile.dbg \ o/$AMD64/tool/build/compile.dbg \
o/$AMD64/tool/build/mkdir.dbg \
o/$AMD64/tool/build/cp.dbg \ o/$AMD64/tool/build/cp.dbg \
o/$AMD64/tool/build/echo.dbg \ o/$AMD64/tool/build/echo.dbg \
o/$AMD64/tool/build/gzip.dbg \ o/$AMD64/tool/build/gzip.dbg \