summaryrefslogtreecommitdiffstats
path: root/zpu/hdl/zpu4/test/hello/build.sh
blob: dd87410ca8ecf41ecdf78851142802bb799eb8c1 (plain)
1
2
3
4
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