Skip to content

Instantly share code, notes, and snippets.

@kare
Last active November 22, 2016 13:09
Show Gist options
  • Save kare/046c486109d93d9ba3037258b1c8c56f to your computer and use it in GitHub Desktop.
Save kare/046c486109d93d9ba3037258b1c8c56f to your computer and use it in GitHub Desktop.
plan9port: Hello, World!
#include <u.h>
#include <libc.h>
void
main(void)
{
print("Hello, World!\n");
exits(0);
}
<$PLAN9/src/mkhdr
TARG=hello
OFILES=\
hello.$O\
BIN=$HOME/bin
<$PLAN9/src/mkone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment