Re: Dumb Question on Cross-Development

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks a lot.
I have question about installation of the SRPMs, though.
How can I relocate the packages, so they don't need to reside under
/usr/src/redhat/ ?

/Carsten

"Maciej W. Rozycki" wrote:

> On Wed, 4 Apr 2001, Carsten Langgaard wrote:
>
> > Now I would like to start cross compile SRPMs (let say redhat7.0).
> > What do I need to do to make the SRPMS cross compile ?
>
>  Spec files need to be written appropriately for cross-compilation to be
> supported as you need to override the compiler used (and possibly other
> tools) and configure scripts need to be passed a host system name.  Also
> depending on the cluefulness of a given maintainer/team, packages might be
> easy or difficult to cross-compile -- heavy patching is required in some
> cases.
>
>  For the way I am using RPM to cross-compile you might visit my FTP site
> at 'ftp://ftp.ds2.pg.gda.pl/pub/macro/' (mirrored at
> 'ftp://ftp.rfc822.org/pub/mirror/ftp.ds2.pg.gda.pl/pub/macro' -- thanks,
> Flo).  There are source and binary packages as well as configuration files
> I use.  Read the READMEs and look at a few spec files and everything
> should be clear.  Many of the *.mipsel.rpm packages available there were
> cross-built -- you may verify it with `rpm -qip': "macro" is my i386-linux
> system, while "3maxp" is my mipsel-linux one (still no i386-linux
> cross-compiler on my mipsel-linux system, sigh... :-( ).
>
>  You need to build cross-binutils, cross-gcc and cross-glibc to start.
> I've already written and sent a detailed description on cross-gcc
> bootstrapping here.  I'm not sure if the list is archived, or not.  If
> not, I may dig through my mail archives and send it again.
>
>  If you have any specific questions, don't hesitate to ask me.
>
>   Maciej
>
> --
> +  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
> +--------------------------------------------------------------+
> +        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

--
_    _ ____  ___   Carsten Langgaard   Mailto:carstenl@mips.com
|\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
| \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
  TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556
                   Denmark             http://www.mips.com





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux