summaryrefslogtreecommitdiffstats
path: root/zpu/hdl/zpu4/test/hello/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'zpu/hdl/zpu4/test/hello/build.sh')
-rw-r--r--zpu/hdl/zpu4/test/hello/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/zpu/hdl/zpu4/test/hello/build.sh b/zpu/hdl/zpu4/test/hello/build.sh
index 0d81138..dd87410 100644
--- a/zpu/hdl/zpu4/test/hello/build.sh
+++ b/zpu/hdl/zpu4/test/hello/build.sh
@@ -1,3 +1,4 @@
-zpu-elf-gcc -O3 -abel `pwd`/hello.c -o hello.elf -Wl,--relax -Wl,--gc-sections -g
+zpu-elf-gcc -O3 -phi `pwd`/hello.c -o hello.elf -Wl,--relax -Wl,--gc-sections -g
zpu-elf-objdump --disassemble-all >hello.dis hello.elf
zpu-elf-objcopy -O binary hello.elf hello.bin
+java -classpath ../../../../sw/simulator/zpusim.jar com.zylin.zpu.simulator.tools.MakeRam hello.bin >hello.ram
OpenPOWER on IntegriCloud