Jump to content

Cross compilers: Difference between revisions

From HW wiki
New page: Pavel Pisa prepares cross toolchains for several architectures as Debian packages. To use these packages on Debian/Ubuntu/... system follow these steps: * Add APT source: echo deb ftp://...
 
No edit summary
Line 4: Line 4:
* Add APT source:
* Add APT source:
  echo deb ftp://rtime.felk.cvut.cz/debian unstable main  >/etc/apt/sources.list.d/rtime-debs.list
  echo deb ftp://rtime.felk.cvut.cz/debian unstable main  >/etc/apt/sources.list.d/rtime-debs.list
* Install packages from cross-dev section (e.g. using aptitude or synaptic)
* Update list of available packages
apt-get update
* Install packages from cross-dev section (e.g. using apt-get, aptitude or synaptic)


These packages have not correct dependencies. You need to install ''libmpfr1ldbl'' a ''libgmp3c2'' packages manually. Packages are not signed so you will see a warning during installation.
These packages have not correct dependencies. You need to install ''libmpfr1ldbl'' a ''libgmp3c2'' packages manually. Packages are not signed so you will see a warning during installation.

Revision as of 08:01, 3 February 2009

Pavel Pisa prepares cross toolchains for several architectures as Debian packages.

To use these packages on Debian/Ubuntu/... system follow these steps:

  • Add APT source:
echo deb ftp://rtime.felk.cvut.cz/debian unstable main  >/etc/apt/sources.list.d/rtime-debs.list
  • Update list of available packages
apt-get update
  • Install packages from cross-dev section (e.g. using apt-get, aptitude or synaptic)

These packages have not correct dependencies. You need to install libmpfr1ldbl a libgmp3c2 packages manually. Packages are not signed so you will see a warning during installation.

There are packages for GCC, Binutils and Newlib/Glibc for the following architecture

  • arm-elf
  • arm-linux-gnueabi
  • powerpc-elf
  • powerpc-linux-gnu

Packages are prepared to run on i386 and amd64 architectures.