Re: [ORLinux] [PATCH 17/35] Make asm-generic/cmpxchg.h #include asm-generic/cmpxchg-local.h [ver #2]

From: David Howells
Date: Wed Mar 14 2012 - 13:08:16 EST


Jonas Bonn <jonas@xxxxxxxxxxxx> wrote:

> > > The error I get while building (if asm/system.h is included) is a
> > > circular dependency that I don't see that I can easily resolve:
> >
> > How do I get an openrisc toolchain?
>
> http://openrisc.net/toolchain-build.html
>
> What distro are you on? I might be able to send you a binary version if
> you prefer...

I'd like to add it to my spec file to build the complete clutch of binutils
and gcc RPMs for Fedora.

I originally tried --target=openrisc-elf, but whilst that is supported by
binutils, it doesn't seem to be supported by gcc.

According to your URL above, I should be using --target=or32-linux, but
binutils claims not to support that:

*** ld does not support target or32-unknown-linux-gnu

Also neither or32-linux-elf nor or32-unknown-linux-elf work.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/