This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-3.2 powerpc cross compile patch
- From: Brian Kuschak <bkuschak at yahoo dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 26 Sep 2002 15:14:13 -0700 (PDT)
- Subject: Re: gcc-3.2 powerpc cross compile patch
That isn't how the gcc bootstrap worked for 2.95, and
I haven't this anywhere in the gcc docs. Also, I've
seen similar patches posted for other architectures.
Beyond that, it doesn't seem to make sense if you're
building a newlib-only gcc without glibc.
-Brian
--- Daniel Jacobowitz <drow@mvista.com> wrote:
> On Thu, Sep 26, 2002 at 02:23:46PM -0700, Brian
> Kuschak wrote:
> > gcc-3.2 wouldn't build for me due to a problem
> with
> > inhibit_libc not taking effect.
> >
> > The following now works, and builds a working
> > compiler:
> >
> > ./configure --host=i686-linux
> --target=powerpc-linux
> > --enable-shared --enable-threads
> > --enable-languages=c,c++ --with-cpu=405
> --without-fp
> >
> > Patch is attached.
>
> No. You're supposed to do this by getting glibc,
> faking out its
> configure script, and running 'make install-headers'
> before you build
> GCC.
>
> --
> Daniel Jacobowitz
> MontaVista Software Debian
> GNU/Linux Developer
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com