This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Simple question.
- From: Sir Ace <chandleg at wizardsworks dot org>
- To: "M. R. Brown" <mrbrown at 0xd6 dot org>
- Cc: gcc at gnu dot org
- Date: Tue, 8 Jan 2002 19:11:35 -0800 (PST)
- Subject: Re: Simple question.
Actually I have got it built working already, the --build flag was my
problem.
Thanks.
On Tue, 8 Jan 2002, M. R. Brown wrote:
> * Sir Ace <chandleg@wizardsworks.org> on Wed, Jan 02, 2002:
>
> >
> > I am having a very rough time trying to figure out something do to the
> > poor documentation on gcc. What I need to do is build a native compiler
> > with a cross compiler.
> > My host platform is x86, the target is Hitachi sh-4.
> >
> > I have built and tested the cross compiler, it works great.
> > I can not get the damn thing to build a native compiler for the sh-4
> > it keeps failing when it tries to execute things during the make.
> >
> > Here is what I am doing, Can you please tell me where I am messing up?:
> >
> > export TARGET=sh4-linux;export PREFIX=/daydream/usr/local/; \
> > export PATH=${PATH}:${PREFIX}/bin;export ROOT=/daydream; \
> > export CC=sh4-linux-gcc;export CXX=sh4-linux-gcc
> >
> > cd /usr/src/dreamcast/
> > mkdir build-gcc
> > cd build-gcc
> >
> > ../gcc-3.0.1/configure --target=$TARGET --prefix=$PREFIX \
> > --disable-shared --host=$TARGET --enable-languages=
> >
>
> --host isn't supposed to be there.
>
> Is this the bootstrap compiler (used to build glibc or another C library),
> or the final C/C++ compiler?
>
> Do the instructions at http://linuxdevices.com/articles/AT7466555948.html
> clarify things a bit?
>
> M. R.
>