0 Members and 4 Guests are viewing this topic.
1. The links to the files in the one that seems easier are both dead.
2. The more complicated one: Why the heck do i need PHP, openssl and all that stuff to make a compiler running!? Come on! It's a program that translates C language into assembly! Why do i need all that stuff complicated even to make a "Hello world!" example? I saw TIGCC, and it has a simple, minimalistic and understandable .exe installer. Shouldn't there be something similar for the nspire?
php (5.6+), libboost-devel, libboost_program_options*, binutils, gcc-core, gcc-g++, git, mpfr, mpfr-devel, gmp, libgmp-devel, libmpc3, libmpc-devel, openssl-dev, make, texinfo, zlib-devel, wget
Install Cygwin (32bit, x86) and the following dependencies
$ ./build_toolchain.shBuilding and installing to '/cygdrive/c/users/lioł/ndless/ndless-sdk/toolchain/install'..../build_toolchain.sh: linia 47: gcc: nie znaleziono poleceniaGMP (gmp-devel/libgmp-dev) dependency seems to be missing!./build_toolchain.sh: linia 48: gcc: nie znaleziono poleceniaMPFR (mpfr-devel/libmpfr-dev) dependency seems to be missing!./build_toolchain.sh: linia 49: gcc: nie znaleziono poleceniaMPC (mpc-devel/libmpc-dev) dependency seems to be missing!./build_toolchain.sh: linia 50: gcc: nie znaleziono poleceniazlib (zlib-devel/zlib1g-dev) dependency seems to be missing!./build_toolchain.sh: linia 51: gcc: nie znaleziono polecenialibpython2.7 (python-devel/python2.7-dev) dependency seems to be missing!
Ok. I don,t get it. I go to the toolchain folder using cygwin and do ./build_toolchain.sh and i get this:Quote$ ./build_toolchain.shBuilding and installing to '/cygdrive/c/users/lioł/ndless/ndless-sdk/toolchain/install'..../build_toolchain.sh: linia 47: gcc: nie znaleziono poleceniaGMP (gmp-devel/libgmp-dev) dependency seems to be missing!./build_toolchain.sh: linia 48: gcc: nie znaleziono poleceniaMPFR (mpfr-devel/libmpfr-dev) dependency seems to be missing!./build_toolchain.sh: linia 49: gcc: nie znaleziono poleceniaMPC (mpc-devel/libmpc-dev) dependency seems to be missing!./build_toolchain.sh: linia 50: gcc: nie znaleziono poleceniazlib (zlib-devel/zlib1g-dev) dependency seems to be missing!./build_toolchain.sh: linia 51: gcc: nie znaleziono polecenialibpython2.7 (python-devel/python2.7-dev) dependency seems to be missing!"nie znaleziono polecenia" means "command not found" in polish.What did i do wrong?
I'm doing it from cygwin, but maybe i don't know how to install dependencies......so what do i do to install dependencies?Ok. I figured it out myself.I can only hope, i selected the right packages.
Please stop double/triple posting. Instead use the edit button on your previous post.
Btw, do you have an idea what this might be?make: *** [Makefile:854: all] Błąd 2"Błąd" --> "Error"
Well...There's the problem.I'm still running build_toolchain.sh, and it only has lihe 87 lines or so...
I would suggest taking a look at one of the makefiles it mentions and looking at line 854 and see if that helps you understand what might be going wrong.
config.status: creating Makefileconfig.status: creating doc/Makefileconfig.status: creating bfd-in3.hconfig.status: creating po/Makefile.inconfig.status: creating config.hconfig.status: executing depfiles commandsconfig.status: executing libtool commandsconfig.status: executing default-1 commandsconfig.status: executing bfd_stdint.h commandsconfig.status: executing default commandsmake[1]: Opuszczenie katalogu '/cygdrive/c/users/lioł/ndless/ndless-sdk/toolchain/build'make: *** [Makefile:854: all] Błąd 2