Difference between revisions of "Precompiled C development environment, running on the LS"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(Installation instructions)
Line 7: Line 7:
 
==Installation instructions==
 
==Installation instructions==
  
Check which Linkstation model you have. Currently there are 2 different architectures (called flavours below), '''ppc'''(LS1, HG, HS, Terastation, Terastation Pro) and '''mips'''(LS2).
+
Check which Linkstation model you have. Currently there are 2 different architectures '''PowerPC''' (LS1, HG, HS, Terastation, Terastation Pro) and '''MIPSel''' (LS2).
  
these should install all the development tools without asking.
+
These should install all the development tools without asking, you will now have a working toolchain on your box!
you will now have a working toolchain on your box!
+
  
 
===PowerPC===
 
===PowerPC===
Line 28: Line 27:
 
   tar xzvf ../mipsel-tools-2_1.tgz
 
   tar xzvf ../mipsel-tools-2_1.tgz
 
   ./install.sh
 
   ./install.sh
 +
 
=Roadmap=
 
=Roadmap=
 
==PowerPC==
 
==PowerPC==

Revision as of 20:35, 20 August 2006

Originally by frontalot from linkstationwiki.org Edited by mindbender

Contents

Background

The LinkStation lacks virtually all necessary development tools, such as binutils or gcc, making it quite difficult to natively compile programs. Are you struggling to build a C compiler without a C compiler? The development tools project aims to solve this problem by offering a complete package of precompiled development tools and related libraries. Although certain tools from this package may work on a stock LinkStation, the development tools are specifically designed to be used on LinkStations with OpenLink firmware. You may download the latest version from the downloads area.

Installation instructions

Check which Linkstation model you have. Currently there are 2 different architectures PowerPC (LS1, HG, HS, Terastation, Terastation Pro) and MIPSel (LS2).

These should install all the development tools without asking, you will now have a working toolchain on your box!

PowerPC

ppc-tools-2_1.tgz

 cd tmp
 wget http://downloads.linkstationwiki.net/development_tools/ppc-tools-2_1.tgz 
 mkdir devtools
 cd devtools
 tar xzvf ../ppc-tools-2_1.tgz
 ./install.sh

MIPSel

mipsel-tools-2_1.tgz

 cd tmp
 wget http://downloads.linkstationwiki.net/development_tools/mipsel-tools-2_1.tgz
 mkdir devtools
 cd devtools
 tar xzvf ../mipsel-tools-2_1.tgz
 ./install.sh

Roadmap

PowerPC

ppc-tools-2.1

   * Added simple installation script install.sh which just installs everything
   * Moved old installation script install.sh to install_custom.sh
   * Updated both scripts to create a symlink for /usr/bin/cc -> /usr/bin/gcc


ppc-tools-2.0

   * Updated installation script (no longer needs to be unpacked to filesystem root)
   * Updated installation instructions
   * Added libncursesw-dev 5.4
   * Added additional locales 2.3.5
   * Upgraded to cpp 3.3.5
   * Upgraded to g++ 3.3.5
   * Upgraded to gcc 3.3.5
   * Upgraded to glibc-dev 2.3.5
   * Upgraded to libstdc+±dev 3.3.5
   * Upgraded to official Linux kernel headers
   * Moved libdb 4.2.52 to OpenLink
   * Moved libgcc1 3.4.3 to OpenLink
   * Moved libgdbm 1.8.3 to OpenLink
   * Moved libncurses 5.4 to OpenLink
   * Moved libpopt 1.7 to OpenLink
   * Moved libreadline 4.3 to OpenLink
   * Moved libssl 0.9.7e to OpenLink
   * Moved Perl packages to OpenLink 


ppc-tools-1.0

   * autoconf 2.59a
   * automake 1.4-p6
   * autotools-dev 20050422.1
   * binutils 2.15
   * binutils-dev 2.15
   * bison 1.875d
   * byacc 1.9.1
   * cpp 2.95.4
   * diff 2.8.1
   * file 4.12
   * flex 2.5.31
   * g++ 2.95.4
   * gcc 2.95.4
   * libc6-dev 2.3.2.ds1
   * libdb 4.2.52
   * libdb-dev 4.2.52
   * libgcc1 3.4.3
   * libgdbm-dev 1.8.3
   * libgdbm3 1.8.3
   * libltdl3 1.5.6
   * libltdl3-dev 1.5.6
   * libmagic-dev 4.12
   * libmagic1 4.12
   * libncurses 5.4
   * libncurses-dev 5.4
   * libpopt-dev 1.7
   * libpopt0 1.7
   * libreadline 4.3
   * libreadline-dev 4.3
   * libssl-dev 0.9.7e
   * libssl 0.9.7e
   * libstdc++2.10-dev 2.95.4
   * libstdc++2.10-glibc2.2 2.95.4
   * libtool 1.5.6
   * linux-kernel-headers 2.5.999-test7-bk
   * m4 1.4.2
   * make 3.80
   * openssl 0.9.7e
   * perl 5.8.4
   * perl-base 5.8.4
   * perl-modules 5.8.4
   * pkg-config 0.17.2
   * python 2.3.5
   * python-dev 2.3.5
   * zlib1g-dev 1.2.2 


hg-tools

* Please use the latest ppc-tools package but replace the included kernel headers with the HG LinkStation kernel headers (linux-kernel-headers-2.4.20_dev).


MIPSel

mipsel-tools-2.1

   * Added simple installation script install.sh which just installs everything
   * Moved old installation script install.sh to install_custom.sh
   * Updated both scripts to create a symlink for /usr/bin/cc -> /usr/bin/gcc


mipsel-tools-2.0

   * Updated installation script (no longer needs to be unpacked to filesystem root)
   * Updated installation instructions
   * Added libncursesw-dev 5.4
   * Added additional locales 2.3.5
   * Upgraded to cpp 3.3.5
   * Upgraded to g++ 3.3.5
   * Upgraded to gcc 3.3.5
   * Upgraded to glibc-dev 2.3.5
   * Upgraded to libstdc+±dev 3.3.5
   * Upgraded to official Linux kernel headers
   * Moved libdb 4.2.52 to OpenLink
   * Moved libgcc1 3.4.3 to OpenLink
   * Moved libgdbm 1.8.3 to OpenLink
   * Moved libncurses 5.4 to OpenLink
   * Moved libpopt 1.7 to OpenLink
   * Moved libreadline 4.3 to OpenLink
   * Moved libssl 0.9.7e to OpenLink
   * Moved Perl packages to OpenLink 


mipsel-tools-1.0

   * autoconf 2.59a
   * automake 1.4-p6
   * autotools-dev 20050422.1
   * binutils 2.15
   * binutils-dev 2.15
   * bison 1.875d
   * byacc 1.9.1
   * cpp 2.95.4
   * diff 2.8.1
   * file 4.12
   * flex 2.5.31
   * g++ 2.95.4
   * gcc 2.95.4
   * libc6-dev 2.3.2.ds1
   * libdb 4.2.52
   * libdb-dev 4.2.52
   * libgcc1 3.4.3
   * libgdbm-dev 1.8.3
   * libgdbm3 1.8.3
   * libltdl3 1.5.6
   * libltdl3-dev 1.5.6
   * libmagic-dev 4.12
   * libmagic1 4.12
   * libncurses 5.4
   * libncurses-dev 5.4
   * libpopt-dev 1.7
   * libpopt0 1.7
   * libreadline 4.3
   * libreadline-dev 4.3
   * libssl-dev 0.9.7e
   * libssl 0.9.7e
   * libstdc++2.10-dev 2.95.4
   * libstdc++2.10-glibc2.2 2.95.4
   * libtool 1.5.6
   * linux-kernel-headers 2.5.999-test7-bk
   * m4 1.4.2
   * make 3.80
   * openssl 0.9.7e
   * perl 5.8.4
   * perl-base 5.8.4
   * perl-modules 5.8.4
   * pkg-config 0.17.2
   * python 2.3.5
   * python-dev 2.3.5
   * zlib1g-dev 1.2.2