* Sparc-32 debian wheezy package repository at http://developer.gaisler.net/debian/
@ 2012-04-04 7:07 Konrad Eisele
2012-04-04 7:25 ` Julian Calaby
2012-04-04 7:30 ` Konrad Eisele
0 siblings, 2 replies; 3+ messages in thread
From: Konrad Eisele @ 2012-04-04 7:07 UTC (permalink / raw)
To: sparclinux
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Sparc-32 debian wheezy package repository at http://developer.gaisler.net/debian/
2012-04-04 7:07 Sparc-32 debian wheezy package repository at http://developer.gaisler.net/debian/ Konrad Eisele
@ 2012-04-04 7:25 ` Julian Calaby
2012-04-04 7:30 ` Konrad Eisele
1 sibling, 0 replies; 3+ messages in thread
From: Julian Calaby @ 2012-04-04 7:25 UTC (permalink / raw)
To: sparclinux
Hi Konrad,
On Wed, Apr 4, 2012 at 17:07, Konrad Eisele <konrad@gaisler.com> wrote:
> Debian wheezy sparc-32 package repository:
> http://developer.gaisler.net/debian/
Awesome work!
> 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,
--
Julian Calaby
Email: julian.calaby@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Sparc-32 debian wheezy package repository at http://developer.gaisler.net/debian/
2012-04-04 7:07 Sparc-32 debian wheezy package repository at http://developer.gaisler.net/debian/ Konrad Eisele
2012-04-04 7:25 ` Julian Calaby
@ 2012-04-04 7:30 ` Konrad Eisele
1 sibling, 0 replies; 3+ messages in thread
From: Konrad Eisele @ 2012-04-04 7:30 UTC (permalink / raw)
To: sparclinux
Julian Calaby wrote:
> Hi Konrad,
>
> On Wed, Apr 4, 2012 at 17:07, Konrad Eisele<konrad@gaisler.com> wrote:
>> Debian wheezy sparc-32 package repository:
>> http://developer.gaisler.net/debian/
>
> Awesome work!
>
>> 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
>
> Thanks,
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-04 7:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-04 7:07 Sparc-32 debian wheezy package repository at http://developer.gaisler.net/debian/ Konrad Eisele
2012-04-04 7:25 ` Julian Calaby
2012-04-04 7:30 ` Konrad Eisele
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.