Philip Blundell wrote:
> >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
>
> Try getting the latest patch from ftp.netwinder.org:/users/p/philb. I think
> it's dated 990113 or thereabouts. (I don't think this is your problem; just
> as a matter of general principle it's best to use the latest sources.)
>
> >What am I doing wrong?
>
> Probably nothing, in fact. The cross-compiler has been built and is now being
> used to try to cross-compile the target libraries. This fails because you
> haven't yet installed the target runtime system (ie glibc).
>
> There are some notes about this sort of thing on my web site
> (http://www.tazenda.demon.co.uk/phil/armlinux) and I think they mention this
> and what you can do about it.
>
> p.
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
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?
Tim Lindquist wrote:
> 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]