summaryrefslogtreecommitdiffstats
path: root/zpu/sw/helloworld/hello.c
diff options
context:
space:
mode:
authoroharboe <oharboe>2008-01-02 21:52:27 +0000
committeroharboe <oharboe>2008-01-02 21:52:27 +0000
commitf2b214b0dff95d6bb79cbb5b6ff5ba9d90f655c9 (patch)
tree2f53ff8c86e2708f838d26e3edede86c111b309e /zpu/sw/helloworld/hello.c
downloadzpu-f2b214b0dff95d6bb79cbb5b6ff5ba9d90f655c9.zip
zpu-f2b214b0dff95d6bb79cbb5b6ff5ba9d90f655c9.tar.gz
Initial import from www.ecosforge.net
Diffstat (limited to 'zpu/sw/helloworld/hello.c')
-rw-r--r--zpu/sw/helloworld/hello.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/zpu/sw/helloworld/hello.c b/zpu/sw/helloworld/hello.c
new file mode 100644
index 0000000..e9cc61e
--- /dev/null
+++ b/zpu/sw/helloworld/hello.c
@@ -0,0 +1,6 @@
+// To compile: zpu-elf-gcc test.c -o test.elf -phi
+// To run:
+int main(int argc, char **argv)
+{
+ printf("Hello world!\n");
+}
OpenPOWER on IntegriCloud