Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ./localMake.sh: line 6: /home/toad1359/InteractOS/compiler/mips-2015.05/bin/mips-sde-elf-as: No such file or directory
- command line(1, 2) invalid option -e
- ./localMake.sh: line 8: /home/toad1359/InteractOS/compiler/mips-2015.05/bin/mips-sde-elf-ld: No such file or directory
- ./localMake.sh: line 9: /home/toad1359/InteractOS/compiler/mips-2015.05/bin/mips-sde-elf-objdump: No such file or directory
- ./localMake.sh: line 10: /home/toad1359/InteractOS/compiler/mips-2015.05/bin/mips-sde-elf-objcopy: No such file or directory
- ./localMake.sh: line 11: /home/toad1359/InteractOS/compiler/mips-2015.05/bin/mips-sde-elf-objcopy: No such file or directory
- ./localMake.sh: line 12: /home/toad1359/InteractOS/compiler/mips-2015.05/bin/mips-sde-elf-objcopy: No such file or directory
- rm: cannot remove 'output.elf': No such file or directory
- localMake.sh
- #!/bin/bash
- #Use only with a homebuilt GCC-mips compiler for elf or with path to dowloaded binaries
- rm -rf build
- mkdir build
- cd build
- mips-sde-elf-as ../drivers/ram.s ../drivers/gpio.s ../drivers/clock.s ../source/main.s -o wrapper.o
- nim c -d:release --cpu:mips --os:standalone --compile_only -ffreestanding -p:../headers ../source/main.nim
- mips-sde-elf-ld main.o wrapper.o ../sources/nimcache/*.o -o output.elf -T ../kernel.ld -ffreestanding -O2 -W
- mips-sde-elf-objdump -d output.elf
- mips-sde-elf-objcopy output.elf -O binary kernel.img
- mips-sde-elf-objcopy output.elf -O binary kernel.bin
- mips-sde-elf-objcopy output.elf -O ihex kernel.hex
- rm output.elf
- cd ..
- git repo:
- https://github.com/toad1359/InteractOS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement