Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Mike Frysinger <vapier@g.o>
From: Joakim Tjernlund <joakim.tjernlund@...>
Subject: Re: crossdev and qlist/qfile
Date: Tue, 20 Dec 2011 09:31:37 +0100
Mike Frysinger <vapier@g.o> wrote on 2011/12/20 03:08:02:
>
> On Monday 19 December 2011 12:09:34 Joakim Tjernlund wrote:
> > I seem to recall that qlist and qfile worked on crossdev installed
> > x-gcc's but now I cannot make it work.
> > # > qfile /usr/powerpc-tmp_softfloat-linux-gnu/
> > cross-powerpc-tmp_softfloat-linux-gnu/glibc
> > (/usr/powerpc-tmp_softfloat-linux-gnu)
> > cross-powerpc-tmp_softfloat-linux-gnu/linux-headers
> > (/usr/powerpc-tmp_softfloat-linux-gnu)
> >
> > This is not complete, both binutils and gcc is missing
>
> no it's not ... neither the cross-compiler binutils nor gcc installs into
> /usr/$CTARGET
>
> run `qlist -e cross-powerpc-tmp_softfloat-linux-gnu/{binutils,gcc}` to see what
> they do install
> -mike

Right, I managed to confuse myself thoroughly :)

I am trying to create a binary package of my cross env, inkluding the sysroot so I
can install it on all dev. machines without needing to rebuild everything.
This is what I got so far:
   TARGET="powerpc-tmp_softfloat-linux-gnu"
   MY_ROOT="/usr/${TARGET}"
   mkdir -p /tmp/${TARGET}
   qlist --quiet --all ${TARGET} > /tmp/${TARGET}/cross-tools
   ROOT=${MY_ROOT} qlist --quiet --all > /tmp/${TARGET}/pkgs
   #prefix all paths with our target root prefix
   sed -i s:/:${MY_ROOT}/: /tmp/${TARGET}/pkgs
   tar czf ${TARGET}.tgz -T /tmp/${TARGET}/cross-tools \
       -T /tmp/${TARGET}/pkgs

This will create a .tgz with the whole cross env. which can be installed
on all our dev. machines.

If you konw a better way, please let me know.

 Jocke



Replies:
Re: crossdev and qlist/qfile
-- Mike Frysinger
References:
crossdev and qlist/qfile
-- Joakim Tjernlund
Re: crossdev and qlist/qfile
-- Mike Frysinger
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: crossdev and qlist/qfile
Next by thread:
Re: crossdev and qlist/qfile
Previous by date:
Re: msp4300 toolchain
Next by date:
Re: msp4300 toolchain


Updated Jun 25, 2012

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.