This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Simple question.


* 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.

Attachment: msg00705/pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]