On Thu, 2012-04-12 at 15:26 +0200, Gergely Sass wrote:
> I am trying to install the OpenRISC GNU toolchain.

Hi Gergely,

You should ask questions like this on the mailing lists (copied), so the
whole community can share the answer. You'll also get a quicker
response, since many people can address the issue.

> I am proceeding according to the
> http://opencores.org/openrisc,gnu_toolchain
> 
> However when I come to this part I got an error message:
> 
> >./bld-all.sh --force --prefix /opt/openrisc
> --or1ksim-dir /opt/or1ksim --uclibc-dir uClibc --linux-dir linux
> 
<snip>
> 
> The option "--32" is an option of "as" whereas "as-new" does not have
> such option. But since I dont know about the underlying details I
> thought I would ask you about this problem.
> 
> gcc version: 4.6.1, gdb 7.3, binutils 2.21.53

Hi Gergely,

I saw this recently in a completely different target, with a different
script, but one, that like the OpenRISC script is based on Mike
Frysinger's GCC cross-compiler build flow. it is a feature of the
underlying GCC make.

Almost certainly you have "." on your search path. So when the build
script tries to use the host assembler, it picks up by mistake the local
version of the assembler it has just built. -32 is an option to the
Intel version of gas, but not to or32-linux-gas nor or32-elf-gas. So you
get this rather bizarre error message.

HTH,


Jeremy

-- 
Tel:     +44 (1590) 610184
Cell:    +44 (7970) 676050
SkypeID: jeremybennett
Email:   [email protected]
Web:     www.embecosm.com


_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to