Difference between revisions of "MIPS SDE Installation"

From LinuxMIPS
Jump to: navigation, search
(MIPS SDE Download and Install: Update to MIPS SDE 6.03.01)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
=== NOTICE: All of the following instructions can no longer be followed as MIPS Technologies removed the sde-for-linux directory from their FTP site. ===
 +
 
== MIPS SDE Download and Install ==
 
== MIPS SDE Download and Install ==
  
The current SDE release is 6.03.01, and is
+
The [ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST current SDE release] is 6.05.00, and is
 
based on [[GCC]] 3.4, but with many local bug fixes and
 
based on [[GCC]] 3.4, but with many local bug fixes and
 
improvements. Take care when upgrading from GCC 2.9x or if downgrading
 
improvements. Take care when upgrading from GCC 2.9x or if downgrading
Line 8: Line 10:
 
=== Cross Toolchain ===
 
=== Cross Toolchain ===
  
The cross toolchain can be used to cross compile a Linux/MIPS kernel, however it cannot be used to build Linux/MIPS applications and shared libraries without some additional cross building infrastructure, such as listed in [[Toolchains]]. The Linux/386 cross toolchain is available as a single file, in RPM format:
+
The cross toolchain can '''only''' be used to cross compile a Linux/MIPS kernel, it '''cannot''' be used to build Linux/MIPS applications and shared libraries without some additional cross building infrastructure, such as listed in [[Toolchains]]. The Linux/386 cross toolchain is available as a single file, in RPM format:
 
                                                                                  
 
                                                                                  
; Linux/386 cross for little-endian target : ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/mipsel-sdelinux-v6.03.01-1.i386.rpm
+
; Linux/386 cross for little-endian target : ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/mipsel-sdelinux-v6.05.00-4.i386.rpm
; Linux/386 cross for big-endian target : ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/mips-sdelinux-v6.03.01-1.i386.rpm.
+
; Linux/386 cross for big-endian target : ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/mips-sdelinux-v6.05.00-4.i386.rpm.
  
 
=== Native Toolchain ===
 
=== Native Toolchain ===
Line 19: Line 21:
  
 
; Native big-endian
 
; Native big-endian
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-binutils-v6.03.01-1.mips.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-binutils-v6.05.00-4.mips.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-c++-v6.03.01-1.mips.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-c++-v6.05.00-4.mips.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-cpp-v6.03.01-1.mips.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-cpp-v6.05.00-4.mips.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-gcc-v6.03.01-1.mips.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-gcc-v6.05.00-4.mips.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-gdb-v6.03.01-1.mips.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-gdb-v6.05.00-4.mips.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-libgcc-v6.03.01-1.mips.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-libgcc-v6.05.00-4.mips.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-libstdc++-v6.03.01-1.mips.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-libstdc++-v6.05.00-4.mips.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-libstdc++-devel-v6.03.01-1.mips.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-libstdc++-devel-v6.05.00-4.mips.rpm
  
 
; Native little-endian
 
; Native little-endian
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-binutils-v6.03.01-1.mipsel.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-binutils-v6.05.00-4.mipsel.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-c++-v6.03.01-1.mipsel.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-c++-v6.05.00-4.mipsel.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-cpp-v6.03.01-1.mipsel.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-cpp-v6.05.00-4.mipsel.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-gcc-v6.03.01-1.mipsel.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-gcc-v6.05.00-4.mipsel.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-gdb-v6.03.01-1.mipsel.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-gdb-v6.05.00-4.mipsel.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-libgcc-v6.03.01-1.mipsel.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-libgcc-v6.05.00-4.mipsel.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-libstdc++-v6.03.01-1.mipsel.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-libstdc++-v6.05.00-4.mipsel.rpm
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-libstdc++-devel-v6.03.01-1.mipsel.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-libstdc++-devel-v6.05.00-4.mipsel.rpm
  
; Native install script : ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/install-native.sh
+
; Native install script : ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/install-native.sh
  
 
; Source package
 
; Source package
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/6.03.01-1/sdelinux-v6.03.01-1.src.rpm
+
: ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-v6.05.00-4.src.rpm
  
 
=== Installation Procedure ===
 
=== Installation Procedure ===
Line 55: Line 57:
 
for example:
 
for example:
  
  # rpm -Uv mipsel-sdelinux-v6.03.01-1.i386.rpm
+
  # rpm -Uv mipsel-sdelinux-v6.05.00-4.i386.rpm
  
 
MTUK would like to hear how well it worked, so contact them on sde@mips.com.
 
MTUK would like to hear how well it worked, so contact them on sde@mips.com.

Latest revision as of 10:13, 13 March 2014

NOTICE: All of the following instructions can no longer be followed as MIPS Technologies removed the sde-for-linux directory from their FTP site.

MIPS SDE Download and Install

The current SDE release is 6.05.00, and is based on GCC 3.4, but with many local bug fixes and improvements. Take care when upgrading from GCC 2.9x or if downgrading from GCC 4.x, because there are compatibility issues - see GCC for details.

Cross Toolchain

The cross toolchain can only be used to cross compile a Linux/MIPS kernel, it cannot be used to build Linux/MIPS applications and shared libraries without some additional cross building infrastructure, such as listed in Toolchains. The Linux/386 cross toolchain is available as a single file, in RPM format:

Linux/386 cross for little-endian target 
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/mipsel-sdelinux-v6.05.00-4.i386.rpm
Linux/386 cross for big-endian target 
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/mips-sdelinux-v6.05.00-4.i386.rpm.

Native Toolchain

The native toolchain can be used to build the Linux kernel on a Linux/MIPS host, and can also build applications and shared libraries. The Linux/MIPS native toolchain is organised into separate RPM files, mirroring the RedHat 7.x toolchain organisation.

Native big-endian
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-binutils-v6.05.00-4.mips.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-c++-v6.05.00-4.mips.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-cpp-v6.05.00-4.mips.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-gcc-v6.05.00-4.mips.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-gdb-v6.05.00-4.mips.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-libgcc-v6.05.00-4.mips.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-libstdc++-v6.05.00-4.mips.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-libstdc++-devel-v6.05.00-4.mips.rpm
Native little-endian
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-binutils-v6.05.00-4.mipsel.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-c++-v6.05.00-4.mipsel.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-cpp-v6.05.00-4.mipsel.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-gcc-v6.05.00-4.mipsel.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-gdb-v6.05.00-4.mipsel.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-libgcc-v6.05.00-4.mipsel.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-libstdc++-v6.05.00-4.mipsel.rpm
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-libstdc++-devel-v6.05.00-4.mipsel.rpm
Native install script 
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/install-native.sh
Source package
ftp://ftp.mips.com/pub/tools/software/sde-for-linux/LATEST/sdelinux-v6.05.00-4.src.rpm

Installation Procedure

To avoid conflicts when installing the native toolchain only, you need to uninstall any old compiler and its support packages. This is most easily done by running the install-native.sh shell script listed above, which must be in the same directory as the rpm files. It will allow you to save your old toolchain package first, in case you need to uninstall SDE and revert.

The cross toolchain is installed simply using the normal rpm command, for example:

# rpm -Uv mipsel-sdelinux-v6.05.00-4.i386.rpm

MTUK would like to hear how well it worked, so contact them on sde@mips.com.