INSTALL 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ## Copyright (C) 2017 Jeremiah Orians
  2. ## This file is part of mescc-tools.
  3. ##
  4. ## mescc-tools is free software: you can redistribute it and/or modify
  5. ## it under the terms of the GNU General Public License as published by
  6. ## the Free Software Foundation, either version 3 of the License, or
  7. ## (at your option) any later version.
  8. ##
  9. ## mescc-tools is distributed in the hope that it will be useful,
  10. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. ## GNU General Public License for more details.
  13. ##
  14. ## You should have received a copy of the GNU General Public License
  15. ## along with mescc-tools. If not, see <http://www.gnu.org/licenses/>.
  16. Building and Installing mescc-tools
  17. * Get it
  18. git clone https://github.com/oriansj/mescc-tools.git
  19. * Prerequisites
  20. ** Bootstrapping
  21. mescc-tools can be bootstrapped from a simple hex assembler.
  22. Once hex0 (in test1) is built, you'll be able to build hex1
  23. exec_enable (test6) will also need to be built on systems that require an execute
  24. bit to be set on binaries before they can be run.
  25. Once hex1 is built, hex2-linker can be built with it.
  26. Once hex2-linker is built, M1-Macro can be built with it.
  27. Then everything else can be built with M1-Macro and hex2
  28. ** Development
  29. The tools required for easier development include binutils, gcc and make
  30. * Build it
  31. make
  32. or
  33. ./build.sh
  34. * Check it
  35. make test
  36. or
  37. ./check.sh
  38. * Install it
  39. make install
  40. or
  41. ./install.sh