1DOLLY 82TOOLCHAIN system-build3REQUIRES HOST runtime@045678SOURCE /include/dolly/runtime.h d57f5242814e516035781cc4fb23c6c5d6c8c6b1b89eafc7447f566fe0b7ad21 /usr/include/dolly/runtime.h9SOURCE /include/dolly/process.h 48ee65d4ed5513e197d8cc6e9e7b2265fc510084931d3620290ccbc7075dfba6 /usr/include/dolly/process.h10SOURCE /include/dolly/host.h 9737f9b15bd65f5732e16bd942fe593132c7c886c3076dfda89a529a23fee08a /usr/include/dolly/host.h11SOURCE /include/dolly/host-abi.h 3f2d26426bb088d61a0cc18b6c464697e98c83d8d34ffaf1d063768e619eb766 /usr/include/dolly/host-abi.h12131415EXPORTS HEADER /usr/include16EXPORTS HEADER /usr/include/dolly/runtime.h17EXPORTS HEADER /usr/include/dolly/process.h18EXPORTS HEADER /usr/include/dolly/host.h19EXPORTS HEADER /usr/include/dolly/host-abi.h20EXPORTS LIB compiler-rt /usr/lib/libclang_rt.builtins.a21222324EXPORTS FOLDER process-sdk /usr/lib/dolly/process25EXPORTS FOLDER /usr/lib/clang/24/include26EXPORTS FILE compiler /usr/libexec/dolly/process-bin/compiler27EXPORTS FILE kernel-plugin-abi /usr/lib/dolly/dolly-kernel-plugin-0.wasm282930SOURCE /dist/static/default/licenses/musl b870108ec5e7790e9f9919064f1b9421d62d5f9b0e6c230c6adf7ea2da62e97b /usr/share/licenses/musl/COPYRIGHT31SOURCE /dist/static/default/licenses/emscripten 620a78084fc7ca97c0b5dea9abf891f3ffcadfdbf305276f099c9c4e12fc1d86 /usr/share/licenses/emscripten/LICENSE32FILE /usr/share/licenses/musl/COPYRIGHT33FILE /usr/share/licenses/emscripten/LICENSE34353637SOURCE /dist/static/default/commands/cc.c 3009db3c344eebe44c1f3cdba7adf1c6c90a6268dc42c02e5030cd0311fbe819 /tmp/process-tools/cc.c38SOURCE /dist/static/default/commands/cxx.c e590097529a894fe768f046188bb3e949377ae8b4fecc41093dd3adac5ca820a /tmp/process-tools/cxx.c39SOURCE /dist/static/default/commands/ld.c 3bf4f5ed66fefbcb1a40bf98bc175e1e10775e7f99c756507d97ee8d95cfee5c /tmp/process-tools/ld.c40SOURCE /dist/static/default/commands/ar.c b8d9b3d57607f48f7c817e4828c35e9aa5cf9e5a92334876fd6081bfea6dcb98 /tmp/process-tools/ar.c41SOURCE /dist/static/default/commands/toolchain.h e3e12fa1eabbf433c25bc3db0ef71256667f21669a93ee2dcb0ac20ce18f6fa5 /tmp/process-tools/toolchain.h42SOURCE /dist/static/default/commands/toolchain.c 0339818db3f343c2258b9fd64c4182c3c36b4b40692cfe8f8def4cbc2e4910b6 /tmp/process-tools/toolchain.c43RUN /usr/libexec/dolly/process-bin/compiler --dolly-toolchain-mode=c -O1 /tmp/process-tools/cc.c /tmp/process-tools/toolchain.c -o /bin/cc44RUN /usr/libexec/dolly/process-bin/compiler --dolly-toolchain-mode=c -O1 /tmp/process-tools/cxx.c /tmp/process-tools/toolchain.c -o /bin/c++45RUN /usr/libexec/dolly/process-bin/compiler --dolly-toolchain-mode=c -O1 /tmp/process-tools/ld.c /tmp/process-tools/toolchain.c -o /bin/ld46RUN /usr/libexec/dolly/process-bin/compiler --dolly-toolchain-mode=c -O1 /tmp/process-tools/ar.c /tmp/process-tools/toolchain.c -o /bin/ar4748EXPORTS ENV CC cc49EXPORTS ENV AR ar50EXPORTS ENV PATH /bin:/usr/bin515253545556EXPORTS TOOL cc57EXPORTS TOOL c++58EXPORTS TOOL ld59EXPORTS TOOL ar60EXPORTS TOOL dollyfile616263REQUIRES HEADER libc64REQUIRES HEADER runtime6566SOURCE /dist/static/default/slop.c 64729b60961f13bc719c710a61118cc2d66029661d5a513245ae66892013c050 /tmp/slop/slop.c6768SOURCE /dist/static/default/commands/test.c f8c6d9618f2f78a85eb8c177df0bb565e9f611f849cbc05401a4a888ce98c5f9 /tmp/slop/commands/test.c69SOURCE /dist/static/default/commands/echo.c 41f0735133bdae9226bf41909009e6db7fc298a0c9a9e1ee16934c09ad244335 /tmp/slop/commands/echo.c70SOURCE /dist/static/default/commands/printf.c 67ec89acb4cd3a1f5657e8ec8d54d58f1d796f6e2eb461545e34a884cce962dc /tmp/slop/commands/printf.c71RUN /usr/libexec/dolly/process-bin/compiler --dolly-toolchain-mode=c -O1 -DDOLLY_SHELL_UTILITY /tmp/slop/slop.c \72 /tmp/slop/commands/test.c /tmp/slop/commands/echo.c /tmp/slop/commands/printf.c -o /bin/slop7374EXPORTS TOOL slop75EXPORTS ENV SHELL /bin/slop76REQUIRES TOOL cc77787980SOURCE /dist/static/default/commands/path.h 48c3a1e853aa273106234c8cdbbcae7d54c2f68f477373e0712d5e4748a9b788 /tmp/core-tools/path.h81SOURCE /dist/static/default/commands/mkdir.c 0713179c0b44c92e30d2fd22c87a930ca23f5417b1b3392b3997547648617ad6 /tmp/core-tools/mkdir.c82SOURCE /dist/static/default/commands/rm.c 2adb95ed560a55f22b91eda217fdbfc4108bd14ebe71b143ef706869d88a1997 /tmp/core-tools/rm.c83SOURCE /dist/static/default/commands/foreground.c e926c3c87764e44064744fc1d3cba008c46666ed7a06d351824ce67792bcdd76 /tmp/core-tools/foreground.c84SOURCE /dist/static/default/commands/help.c 5051d2894cf4733b35ee0a128bbccbc428ffd232314465123360b0fba866c70d /tmp/core-tools/help.c85SOURCE /dist/static/default/commands/man.c cd13cdece7706188e083a1754187cb19b7627e9cb8d2b294ba21cd2f88ff39d8 /tmp/core-tools/man.c86SOURCE /dist/static/default/commands/pwd.c 61b2840bfba274f511c3777f5b800bcdfff1947bef13b771c5d9a98eb5d03d3d /tmp/core-tools/pwd.c87SOURCE /dist/static/default/commands/cat.c 43eabd1e83f6c56cd5b5a7d8e5f9621e214c35e9407dea6bbce34120cb9da723 /tmp/core-tools/cat.c88SOURCE /dist/static/default/commands/echo.c 41f0735133bdae9226bf41909009e6db7fc298a0c9a9e1ee16934c09ad244335 /tmp/core-tools/echo.c89SOURCE /dist/static/default/commands/printf.c 67ec89acb4cd3a1f5657e8ec8d54d58f1d796f6e2eb461545e34a884cce962dc /tmp/core-tools/printf.c90SOURCE /dist/static/default/commands/touch.c 1eb3737abe39d9efe0c66d9e84a7bf6445fa2c07c12b46ad107cd799f2f0747c /tmp/core-tools/touch.c91SOURCE /dist/static/default/commands/clear.c f2e6915b3fe34393087ec7d04e61d090c0d62e551b86b36e8c3ff6bfff72598d /tmp/core-tools/clear.c92SOURCE /dist/static/default/commands/ls.c 7b1f4a0cdfb7e568b9a8e4ab9b9d784d52d034103915e11b1a25472bbe86d225 /tmp/core-tools/ls.c93SOURCE /dist/static/default/commands/stat.c 716e40d4db491a766b738e21c780d4f386641be93daccc4481b4d71b603110c2 /tmp/core-tools/stat.c94SOURCE /dist/static/default/commands/file.c 3fd871ab9da0233ab738683f3ae45ab8cac3b37df3be92359575448137b4ec37 /tmp/core-tools/file.c95SOURCE /dist/static/default/commands/test.c f8c6d9618f2f78a85eb8c177df0bb565e9f611f849cbc05401a4a888ce98c5f9 /tmp/core-tools/test.c96SOURCE /dist/static/default/commands/mv.c 9c14fbc337cd41f6d7733fb3a36346d845e14223e6207d427a74123a00ea6504 /tmp/core-tools/mv.c97SOURCE /dist/static/default/commands/cp.c 97eaeb0da4d284fa222de163bb99b86086398c4c76cdb6a77d0a06c699e7d2e9 /tmp/core-tools/cp.c98SOURCE /dist/static/default/commands/sleep.c 7723af4c2a4feb4a3393482fe3e58beaba36b2b0d83fcc67787b339a87e031e6 /tmp/core-tools/sleep.c99SLOP cc \100 -O2 \101 /tmp/core-tools/foreground.c \102 -o /bin/foreground103SLOP cc \104 -O2 \105 /tmp/core-tools/help.c \106 -o /bin/help107SLOP cc \108 -O2 \109 /tmp/core-tools/man.c \110 -o /bin/man111SLOP cc \112 -O2 \113 /tmp/core-tools/pwd.c \114 -o /bin/pwd115SLOP cc \116 -O2 \117 /tmp/core-tools/cat.c \118 -o /bin/cat119SLOP cc \120 -O2 \121 /tmp/core-tools/echo.c \122 -o /bin/echo123SLOP cc \124 -O2 \125 /tmp/core-tools/printf.c \126 -o /bin/printf127SLOP cc \128 -O2 \129 /tmp/core-tools/touch.c \130 -o /bin/touch131SLOP cc \132 -O2 \133 /tmp/core-tools/clear.c \134 -o /bin/clear135SLOP cc \136 -O2 \137 /tmp/core-tools/ls.c \138 -o /bin/ls139SLOP cc \140 -O2 \141 /tmp/core-tools/stat.c \142 -o /bin/stat143SLOP cc \144 -O2 \145 /tmp/core-tools/file.c \146 -o /bin/file147SLOP cc \148 -O2 \149 /tmp/core-tools/test.c \150 -o /bin/test151SLOP cc \152 -O2 \153 /tmp/core-tools/test.c \154 -o /bin/[155SLOP cc \156 -O2 \157 /tmp/core-tools/mv.c \158 -o /bin/mv159SLOP cc \160 -O2 \161 /tmp/core-tools/cp.c \162 -o /bin/cp163SLOP cc \164 -O2 \165 /tmp/core-tools/mkdir.c \166 -o /bin/mkdir167SLOP cc \168 -O2 \169 /tmp/core-tools/rm.c \170 -o /bin/rm171SLOP cc \172 -O2 \173 /tmp/core-tools/sleep.c \174 -o /bin/sleep175EXPORTS TOOL mkdir176EXPORTS TOOL rm177EXPORTS TOOL foreground178EXPORTS TOOL help179EXPORTS TOOL man180EXPORTS TOOL pwd181EXPORTS TOOL cat182EXPORTS TOOL echo183EXPORTS TOOL printf184EXPORTS TOOL touch185EXPORTS TOOL clear186EXPORTS TOOL ls187EXPORTS TOOL stat188EXPORTS TOOL file189EXPORTS TOOL test190EXPORTS TOOL [191EXPORTS TOOL mv192EXPORTS TOOL cp193EXPORTS TOOL sleep194195196197SLOP mkdir \198 -p \199 /usr/share/man/cat1 \200 /usr/share/man/man1201SLOP for name in ar c++ cat cc clear cp dollyfile file foreground help ld ls man mkdir mv pwd rm sleep slop stat touch; do \202 "/bin/$name" --help > "/usr/share/man/cat1/$name.1"; \203 done204SLOP help >> /usr/share/man/cat1/slop.1205206FILE /usr/share/man/cat1/echo.1207 usage: echo [-n] [ARG ...]208 Print the ARGs separated by spaces and a newline; -n as the first ARG omits the newline.209 Backslashes are printed as they are: printf interprets escapes.210211FILE /usr/share/man/cat1/printf.1212 usage: printf FORMAT [ARG ...]213 Write FORMAT, reused while ARGs remain. FORMAT's escapes are \\ \a \b \f \n \r \t \v,214 \e, \xHH and \NNN in octal; \c ends the output. Each conversion takes the next ARG,215 or an empty one: %s, %c, %b (the ARG's escapes, octal as \0NNN), %d %i %o %u %x %X,216 whose ARG is a C integer constant or a quote and a character, and %e %f %g %a and217 their capitals; flags - + space # 0, a width and a .precision, each may be *. %% is %.218FILE /usr/share/man/cat1/test.1219 usage: test EXPRESSION220 [ EXPRESSION ]221 Exit 0 when EXPRESSION is true, 1 when it is false or missing, 2 when it is malformed.222 -e FILE FILE exists (-r and -w are the same: there are no permission bits)223 -f FILE FILE is a regular file224 -d FILE FILE is a directory225 -x FILE FILE is a regular file or a directory226 -h FILE, -L FILE FILE is a symbolic link227 -s FILE FILE is not empty228 -b, -c, -p, -S FILE FILE is a block or character device, a FIFO, a socket229 -g, -u, -k FILE the set-group-ID, set-user-ID, sticky bit of the fixed modes stat reports230 -t FD descriptor FD is a terminal231 -n STRING STRING is not empty (so is a lone STRING)232 -z STRING STRING is empty233 A = B, A != B the strings are equal (== is the same), differ234 A < B, A > B A sorts before, after B235 M -eq N the integers are equal; also -ne -lt -le -gt -ge236 F -nt G, F -ot G F was modified after, before G (a missing file is older)237 F -ef G F and G are the same file238 ! E, E -a E, E -o E, ( E ) not, and, or, grouping; up to four arguments239 count, as POSIX says, so test "$x" = -a compares strings240 example: test -d /tmp && [ "$HOME" != / ]241SLOP cp /usr/share/man/cat1/test.1 '/usr/share/man/cat1/[.1'242243SLOP rm \244 -rf \245 /tmp/core-tools246REQUIRES TOOL rm247248249SOURCE /dist/static/default/commands/tar.c 9e01d3df0905b893afe02232c713d5feafbead706392f7fc62967bdffad1779f /tmp/bootstrap/tar.c250SLOP cc \251 /tmp/bootstrap/tar.c \252 -o /bin/tar253254EXPORTS TOOL tar255256SLOP tar --help > /usr/share/man/cat1/tar.1257258SLOP rm \259 -rf \260 /tmp/bootstrap261REQUIRES TOOL mkdir262REQUIRES TOOL tar263264SOURCE /dist/static/default/make-4.4.1.tar 243b31e6a2d662ae9713910b8b2e326aecf7edfb9d16c5f736292055de8d3f37 /tmp/make-4.4.1.tar265SLOP tar \266 -xf /tmp/make-4.4.1.tar \267 -C /268SLOP mkdir \269 -p \270 /usr/bin271272SLOP CWD /usr/src/make cc \273 -O1 \274 -std=gnu11 \275 -DHAVE_CONFIG_H \276 -I /usr/src/make \277 -I /usr/src/make/src \278 -I /usr/src/make/lib \279 '-DLIBDIR="/usr/lib"' \280 '-DLOCALEDIR="/usr/share/locale"' \281 $(cat dolly-sources.txt) \282 -o /usr/bin/make283284EXPORTS TOOL make285286SLOP make \287 --version288SLOP make --help > /usr/share/man/cat1/make.1289290FOLDER /usr/share/man291292FILE /usr/share/licenses/make/COPYING293294SLOP rm \295 -rf \296 /tmp/make-4.4.1.tar \297 /usr/src/make298299300301302303REQUIRES TOOL c++304REQUIRES TOOL cc305REQUIRES TOOL ar306REQUIRES TOOL make307308SOURCE /dist/static/default/libcxx-headers.tar 5e558f6f862d4a3fb22cc3c5b62c5e2652bf699f176fa349eeecb85d1a946735 /tmp/cpp/libcxx-headers.tar309SOURCE /dist/static/default/libcxx.tar 2dff834a9e5e907476841437518cfdd568563e922e7a22f3261da114e1b1a1e8 /tmp/cpp/libcxx.tar310SOURCE /dist/static/default/licenses/libcxx 539dd7aed86e8a4f12cbdd0e6c50c189c7d74847e4fecc64ce2c6ee3a01da38b /usr/share/licenses/libcxx/LICENSE311SOURCE /dist/static/default/licenses/libcxxabi e2b35be49f7284a45b7baca8fc7b3ab7440e7902392b2528a457816b5bb2a15c /usr/share/licenses/libcxxabi/LICENSE312313SLOP tar \314 -xf /tmp/cpp/libcxx-headers.tar \315 -C /316SLOP tar \317 -xf /tmp/cpp/libcxx.tar \318 -C /319320FILE /tmp/cpp/Makefile321 .RECIPEPREFIX := >322 S := /tmp/cpp/system/lib323 L := /usr/lib/dolly/process324325326 FLAGS := -Oz -g -fno-pic -fvisibility=hidden -ffile-prefix-map=/tmp/cpp=/emsdk/emscripten -DNDEBUG327 COMPILE := c++ $(FLAGS) -std=c++23 -D_LIBCPP_BUILDING_LIBRARY -I$S/libcxx/src -I/tmp/cpp/system/include328 LIBCXX := $(filter-out %/int128_builtins.cpp,$(wildcard $S/libcxx/src/*.cpp $S/libcxx/src/filesystem/*.cpp \329 $S/libcxx/src/ryu/*.cpp)) $(addprefix $S/libcxx/src/experimental/,chrono_exception.cpp keep.cpp log_hardening_failure.cpp)330 LIBCXXABI := $(addprefix $S/libcxxabi/src/,abort_message.cpp cxa_aux_runtime.cpp cxa_default_handlers.cpp \331 cxa_demangle.cpp cxa_guard.cpp cxa_handlers.cpp cxa_virtual.cpp cxa_thread_atexit.cpp fallback_malloc.cpp \332 stdlib_new_delete.cpp stdlib_exception.cpp stdlib_stdexcept.cpp stdlib_typeinfo.cpp private_typeinfo.cpp \333 cxa_exception_js_utils.cpp cxa_exception_storage.cpp cxa_exception.cpp cxa_personality.cpp)334 objects = $(sort $(addprefix /tmp/cpp/$1/,$(addsuffix .o,$(basename $(notdir $2)))))335 all: $L/libc++-ww-wasmexcept.a $L/libc++abi-ww-wasmexcept.a $L/libunwind-ww-wasmexcept.a336 $L/libc++-ww-wasmexcept.a: $(call objects,libc++,$(LIBCXX))337 $L/libc++abi-ww-wasmexcept.a: $(call objects,libc++abi,$(LIBCXXABI))338 $L/libunwind-ww-wasmexcept.a: /tmp/cpp/libunwind/Unwind-wasm.o339 $L/%.a:340 >ar rc $@ $^341 define compile342 /tmp/cpp/$1/$(basename $(notdir $2)).o: $2343 >$3 -c $$< -o $$@344 endef345 $(foreach source,$(LIBCXX),$(eval $(call compile,libc++,$(source),$(COMPILE) -DLIBCXX_BUILDING_LIBCXXABI=1 \346 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -DLIBC_NAMESPACE=__llvm_libc -I$S/llvm-libc)))347 $(foreach source,$(LIBCXXABI),$(eval $(call compile,libc++abi,$(source),$(COMPILE) -D_LIBCXXABI_USE_FUTEX \348 -D_LIBCXXABI_BUILDING_LIBRARY -DLIBCXXABI_NON_DEMANGLING_TERMINATE -I$S/libunwind/include)))349 $(eval $(call compile,libunwind,$S/libunwind/src/Unwind-wasm.c,cc $(FLAGS) -D_LIBUNWIND_HIDE_SYMBOLS \350 -I$S/libunwind/include))351SLOP mkdir /tmp/cpp/libc++ /tmp/cpp/libc++abi /tmp/cpp/libunwind352SLOP make -C /tmp/cpp -j2353354EXPORTS HEADER /usr/include/c++/v1355EXPORTS LIB c++ /usr/lib/dolly/process/libc++-ww-wasmexcept.a356EXPORTS LIB c++abi /usr/lib/dolly/process/libc++abi-ww-wasmexcept.a357EXPORTS ENV CXX c++358359FILE /usr/share/licenses/libcxx/LICENSE360FILE /usr/share/licenses/libcxxabi/LICENSE361362SLOP rm \363 -rf \364 /tmp/cpp365