[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Date: 25 Feb 2003 10:38:08 +0100
- From: corsepiu at faw.uni-ulm.de (Ralf Corsepius)
- Subject: Building Tools
Am Die, 2003-02-25 um 10.02 schrieb Angelo Fraietta:
> Ralf Corsepius wrote:
> > Am Die, 2003-02-25 um 07.01 schrieb Angelo Fraietta:
> > > Do I have to download any patches to build the latest tools for a
> > > pc386dx target ?
> > >
> > Yes.
> > > (I am doing with OSX as the host now).
> > >
> > There are better choices than using OSX for RTEMS and for GNU software
> > in general ;)
> I have found that out already,
Well, theoretically, OSX should work fine, however I know about one
major issue with OSX that breaks autoconf-generated configure-scripts at
It's them shipping a broken version of zsh-3.* as system /bin/sh.
Replacing this zsh with a zsh-4.* is reported to remedy this issue.
AFAIK, Eric Norum uses or has been using OSX as host-platform for RTEMS,
so he might be in a better position to help with OSX-specific issues.
> > > I have downloaded the following:
> > > binutils-126.96.36.199.tar.bz2
> > > gcc-3.2.1.tar.gz and
> > > newlib-1.11.0.tar.GZ
> > >
> > The versions of the set of patches required for particular version of
> > RTEMS can be found hidden inside of the file scripts/setup.def in
> > RTEMS's source tree.
> > The actual diffs/patches should be available somewhere on
> > ftp.oarcorp.com
> > If rpm is available for OSX or have access to another machine with rpm,
> > I'd recommend to download the *.nosrc.rpm and unpackage them instead
> > (the nosrc.rpms contain all required patches, but do not contain the
> > main tarballs).
> Could I do this on my linux machine without having to upgrade the rpm
> version on the linux host?
Well, Joel told me he is using RH-7.3 and therefore probably is using
some version of rpm-4.0.x to package the rpms. If he and/or the OAR
sysadmins did their homework, he should be using a version that is
compatible to all other versions of rpm >= 3.0.6.
[There is an advisory somewhere at RH or www.rpm.org that recommends all
RH users to upgrade. Unfortunately I don't recall the URL of this page
nor which version of rpm they recommend to upgrade to.]
Anyway, unpackaging a nosrc.rpm should always work without corrupting
anything (rpm -U xxx.nosrc.rpm). This will install the xxx.spec to
/usr/src/redhat/SPECS and the diff/patches to /usr/src/redhat/SOURCES.