How to install GCC and GNU Binutils for or1k on Unix (tested on i386 Linux) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Although this software is still buggy and VERY ALPHA it is available for testing. Later versions will be available through OpenCores CVS. GCC 2.95.2 ^^^^^^^^^^ Get or1k/or1k-gcc.tar.gz from OpenCores web site, untar it on your host, go to gcc/gcc directory and issue the following commands (do it as root so you won't have problem when installing to default installation path): # ./configure --target=or32-coff # make LANGUAGES=c # make LANGUAGES=c install You'll end up with /usr/local/lib/gcc-lib/or32 directory, /usr/local/or32 and with some binaries in /usr/local/bin. BINUTILS 2.9.1 ^^^^^^^^^^^^^^ For GNU Binutils (GAS, linker etc.) download or1k/or1k-binutils.tar.gz from OpenCores web site, untar it and go to binutils/ and issue the following commands (as root): # ./configure --target=or32-coff Then run make followed by make install: # make There should be no problems with compilation. # make install I suggest you then install latest version of OR1K simulator, or1ksim, which is available from OpenCores CVS repository. Enjoy ! -- 29/2/2000, Damjan Lampret email:lampret@opencores.org