Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2015
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. ./localMake.sh: line 6: /home/toad1359/InteractOS/compiler/mips-2015.05/bin/mips-sde-elf-as: No such file or directory
  2. command line(1, 2) invalid option -e
  3. ./localMake.sh: line 8: /home/toad1359/InteractOS/compiler/mips-2015.05/bin/mips-sde-elf-ld: No such file or directory
  4. ./localMake.sh: line 9: /home/toad1359/InteractOS/compiler/mips-2015.05/bin/mips-sde-elf-objdump: No such file or directory
  5. ./localMake.sh: line 10: /home/toad1359/InteractOS/compiler/mips-2015.05/bin/mips-sde-elf-objcopy: No such file or directory
  6. ./localMake.sh: line 11: /home/toad1359/InteractOS/compiler/mips-2015.05/bin/mips-sde-elf-objcopy: No such file or directory
  7. ./localMake.sh: line 12: /home/toad1359/InteractOS/compiler/mips-2015.05/bin/mips-sde-elf-objcopy: No such file or directory
  8. rm: cannot remove 'output.elf': No such file or directory
  9.  
  10.  
  11. localMake.sh
  12.  
  13. #!/bin/bash
  14. #Use only with a homebuilt GCC-mips compiler for elf or with path to dowloaded binaries
  15. rm -rf build
  16. mkdir build
  17. cd build
  18. mips-sde-elf-as ../drivers/ram.s ../drivers/gpio.s ../drivers/clock.s ../source/main.s -o wrapper.o
  19. nim c -d:release --cpu:mips --os:standalone --compile_only -ffreestanding -p:../headers ../source/main.nim
  20. mips-sde-elf-ld main.o wrapper.o ../sources/nimcache/*.o -o output.elf -T ../kernel.ld -ffreestanding -O2 -W
  21. mips-sde-elf-objdump -d output.elf
  22. mips-sde-elf-objcopy output.elf -O binary kernel.img
  23. mips-sde-elf-objcopy output.elf -O binary kernel.bin
  24. mips-sde-elf-objcopy output.elf -O ihex kernel.hex
  25. rm output.elf
  26. cd ..
  27.  
  28.  
  29. git repo:
  30. https://github.com/toad1359/InteractOS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement