Skip to contentSkip to conversation

Sparc-32 debian wheezy package repository at http://developer.gaisler.net/debian/

DISCUSSION Konrad Eisele 2 participants 3 messages Apr 4, 2012

lore
Share & tools
lore
#0 lore raw

Debian wheezy sparc-32 package repository:
http://developer.gaisler.net/debian/
You can use http://wiki.debian.org/Multistrap (on debian) together with:
--------- m-sparc.conf ------------------ [General]
arch=sparc
directory=/tmp/dist-multistrap-w
cleanup=true
noauth=true
unpack=true
aptsources=Grip Updates
debootstrapÞbian

[Debian] packagessource=http://developer.gaisler.net/debian suite=wheezy
-----------------------------------------
and
$fakeroot multistrap -f m-sparc.conf
to install a base installation.

For cross compilation of debian packages there is a sparc-linux-gnu crosscompiler with many libraries preinstalled:
http://developer.gaisler.net/debian/cross-compiler/sparc-linux-gnu-cross_1.0.0-1_amd64.deb
This package is for a 64-bit machine.
-- Konrad

#1 lore raw

Hi Konrad,

Quoted 2 lines · Konrad Eisele

Debian wheezy sparc-32 package repository:
http://developer.gaisler.net/debian/

Awesome work!

Quoted 4 lines

For cross compilation of debian packages there is a sparc-linux-gnu crosscompiler with many libraries preinstalled:
http://developer.gaisler.net/debian/cross-compiler/sparc-linux-gnu-cross_1.0.0-1_amd64.deb
This package is for a 64-bit machine.

crosstool-ng (which Sam has contributed Sparc support to) is another way to easily build a cross compiler. buildroot is another alternative.

Thanks,

Signature · 5 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
#2 lore raw
In reply to Konrad Eisele
Quoted 8 lines · Julian Calaby

Hi Konrad,

Quoted 2 lines · Konrad Eisele

Debian wheezy sparc-32 package repository:
http://developer.gaisler.net/debian/

Awesome work!

Quoted 8 lines
Quoted 4 lines

For cross compilation of debian packages there is a sparc-linux-gnu crosscompiler with many libraries preinstalled:
http://developer.gaisler.net/debian/cross-compiler/sparc-linux-gnu-cross_1.0.0-1_amd64.deb
This package is for a 64-bit machine.

crosstool-ng (which Sam has contributed Sparc support to) is another way to easily build a cross compiler. buildroot is another alternative.

The one above has a lot of headers and libxxx-dev-sparc-cross.dev packages installed by default. It is a multiarch compiler for debian-64-wheezy. You can build new cross package by:
$apt-get source <name>
$cd <dir>
$dpkg-buildpackage -asparc -us -uc -rfakeroot -b
Then you convert the .deb to multiarch:
$export CC=sparc-linux-gnu-gcc
and install the "dev" deb oackages:
$dpkg-cross -A -M -a sparc -b <dev-name>.deb
$sudo dpkg -i <dev-name-sparc-cross>.deb
Most of the time you have to fiddle with he buildscripts though.
You need to be in a debian-64 wheezy distribution. (I use a 64-bit virtual virtualbox and netinst from http://www.debian.org/devel/debian-installer/).

-- Konrad

Quoted 3 lines

Thanks,