> I looked at this web page. It talks about::
>
> >>>>>
> If you are trying to bootstrap a development environment for the first time on
> this system you will find that not everything will build first time around. The
> only things that matter at this stage are those that are
> built if you type `make LANGUAGES="c"' in the `gcc' subdirectory. In order to
> get libgcc2 to compile you may need to add -Dinhibit_libc to the CFLAGS that are
> used. The easiest way to do this is to
> fiddle the Makefile by hand. Once enough of the compiler is built you can
> install it - again you may need to be in the gcc subdirectory and use
> LANGUAGES="c" to get this to complete without errors.
> <<<<
>
> I have nothing in the gcc directory but
> confdefs.h config.log
>
did you run configure ? configure creates makefiles
> I think the test is either failing because arm-linux-gcc doesn't point
> to anything, or because it's compiling an arm binary on solaris and
> then cant test it on solaris.
>
>
> Anyway, I'm getting pretty lost, can anyone tell me what is missing?
>
I'm getting lost by reading this mail.
Let me sum up stages and tell me where it fails, I'll help you
- Compile and install binutils-1.9.1.0.19a
./configure --target=arm-linux --prefix=where_you_want
make
make install
- add where_you_want/bin in your PATH
- Untar egcs, patch it, find . -name "*.rej"
- enter egcs dir, then ./configure --target=arm-linux --
prefix=wher_you_want_the_same
- modify makefile to add -Dinhibit-libc in CFLAGS
- make -i LANGUAGES=c
- make -i LANGUAGES=c install
compile glibc, with
prefix=/where_you_want_not_the_same_as_above
make, make install
go back in egcs,
./configure --prefix=same_place_as_first_time --with-
headers=/where_you_put_glibc/include --with-
libs=/where_you_put_glibc/lib --target=arm-linux
make LANGUAGES="c c++"
make LANGUAGES="c c++" install
DONE
Christophe
>
> > I'm having problems building a cross compiler on solaris.
> > When running make, I get:
> >
> > checking whether the C compiler (arm-linux-gcc -g -O2 ) works... no
> > configure: error: installation or configuration problem: C compiler
> > cannot create executables.
> > gmake: *** [configure-target-libiberty] Error 1
> >
> > Before I got to this stage, I had the egcs-1.1.1 source,
> > and got 3 patch files for it that I applied consecutively:
> >
> > egcs-1.1.1-prerelease-2-arm-diff-981117.gz
> > egcs-1.1.1-prerelease-2-arm-diff-981117-981124
> > egcs-1.1.1-prerelease-2-arm-diff-981124-981125
> >
> > I got the following message during the final patch:
> >
> > patching file `gcc/f/intdoc.texi'
> > Reversed (or previously applied) patch detected! Assume -R? [y]
> >
> > I created an egcs-1.1.1-build dir, and from there ran:
> >
> > ../egcs-1.1.1/configure --target=arm-linux
> > --prefix=/home/elph/tjl/work/sw/armlinux/
> >
> > and then ran make.
> >
> > What am I doing wrong?
>
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]