building a gcc-3.3-prerelease cross-compiler
Rene Rebe
rene.rebe@gmx.net
Mon May 12 19:24:00 GMT 2003
Hi,
On: Mon, 12 May 2003 12:59:13 -0400,
Paul Koning <pkoning@equallogic.com> wrote:
> Rene> (Is it intentional that the GCC install instructions point to
> Rene> the rather old "Version: 1.01, Last Updated December 3, 1999"
> Rene> CrossGCC/FAQ ? Maybe some more recent info should be included
> Rene> in the install document ...)
>
> Indeed. It would be even better if they actually worked. I have
> never seen ones that work. The closest I have come is procedures that
> result in a build process that aborts at some point, but gets far
> enough to produce a compiler that appears to function.
In ROCK Linux we always had working cross-compile functionality since
we support cross build (of selected packages). We even do build a
"pseudo" cross compile for native builds (e.g. to have a clean
compiler for the real gcc build - and for system that have an old gcc
and the new glibc-2.3 is selected to build).
We had this code:
if [ "$pkg" = "gcc2" ] ; then
make -C gcc all LANGUAGES="c"
make -C gcc install LANGUAGES="c"
else
make all
make install
fi
Which I now changed to:
if [ "$pkg" = "gcc2" ] ; then
make -C gcc all LANGUAGES="c"
make -C gcc install LANGUAGES="c"
else
make -C gcc all
make -C gcc install
fi
And this seems to work for the 3.3-prerelease. I still need to test if
this still works for the current stable 3.2.x branch ...
You can browse it online at:
http://schillernet.dyndns.org/svn/rock-linux/rock-trunk/package/base/gcc3/gcc3.conf
> paul
Sincerely,
René Rebe
- ROCK Linux stable release maintainer
--
René Rebe - Europe/Germany/Berlin
rene@rocklinux.org rene.rebe@gmx.net
http://www.rocklinux.org http://www.rocklinux.org/people/rene
http://gsmp.tfh-berlin.de/gsmp http://gsmp.tfh-berlin.de/rene
More information about the Gcc
mailing list