This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: --target=powerpc-unknown-elf, binutils-2.15?
On Mon, Aug 02, 2004 at 10:30:49PM +0200, Torsten Mohr wrote:
> thanks for your hint. Sorry, i mistyped it in this mail, but
> i gave the same options to binutils and gcc.
Um. No, you didn't.
> I configured binutils:
>
> # --prefix=/opt/powerpc-unknown-elf
...and then...
> With this little script i try to build gcc-core (The binutils for ppc are
> in the PATH):
>
> #! /bin/bash
>
> [ -d bgcc ] && rm -rf bgcc
> mkdir bgcc
> cd bgcc
> ../gcc-3.4.1/configure \
> --target=powerpc-unknown-elf \
> --prefix=/opt/powerpc-linux
Now, look very very carefully at the --prefix= arguments. :-) They must
be the same for this to work. It's not a hint, it's a requirement.