{"id":6518,"date":"2022-05-31T15:27:21","date_gmt":"2022-05-31T15:27:21","guid":{"rendered":"https:\/\/netpipe.ca\/?p=6518"},"modified":"2022-05-31T15:53:13","modified_gmt":"2022-05-31T15:53:13","slug":"emscripten-unix","status":"publish","type":"post","link":"https:\/\/netpipe.ca\/?p=6518","title":{"rendered":"emscripten unix v1"},"content":{"rendered":"<p>was wondering if its possible to compile and launch unix kernel using tcc (tiny c compiler) (depends if it can do inline asm)with -run commandline option or if it would be better to try and compile it using traditional tools like gcc and make a wasm file out of it.<\/p>\n<p>&nbsp;<\/p>\n<p>https:\/\/github.com\/kungfooman\/tcc-for-emscripten<\/p>\n<p>https:\/\/ja.nsommer.dk\/articles\/linux-and-tiny-c-compiler-in-the-browser-part-one.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>was wondering if its possible to compile and launch unix kernel using tcc (tiny c compiler) (depends if it can do inline asm)with -run commandline option or if it would be better to try and compile it using traditional tools like gcc and make a wasm file out of it. &nbsp; https:\/\/github.com\/kungfooman\/tcc-for-emscripten https:\/\/ja.nsommer.dk\/articles\/linux-and-tiny-c-compiler-in-the-browser-part-one.html<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6518","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/posts\/6518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6518"}],"version-history":[{"count":2,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/posts\/6518\/revisions"}],"predecessor-version":[{"id":6520,"href":"https:\/\/netpipe.ca\/index.php?rest_route=\/wp\/v2\/posts\/6518\/revisions\/6520"}],"wp:attachment":[{"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netpipe.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}