Thanks all for info..
Im using AMD-x86_64, so I have to build all the binutils, gcc, .. from
source..

I was able to surpass the issue for "x86_64" system by passing additional
CFLAG  '-mcmodel=medium -fPIC'
And most of binutils compiled successfully except for 'sims' which is using
or1ksim.

But now I'm stuck while building or1k-src/binutils/sims. I got following
error, which I suppose is mostly because of some version mismatch in:
or1k-src/binutils/gdb and
or1k-src/binutils/sims

I'm using following branch from github  "origin/upstream-rebase-20130930".
I hope this branch builds cleanly  ?

------------------------------------
../../../binutils/sim/or1ksim/wrapper.c:852:1: error: conflicting types for
'sim_complete_command'
 sim_complete_command (SIM_DESC sd, char *text, char *word)
 ^
In file included from ../../../binutils/sim/or1ksim/wrapper.c:44:0:

../../../binutils/sim/or1ksim/../../include/gdb/remote-sim.h:281:8: note:
previous declaration of 'sim_complete_command' was here
 char **sim_complete_command (SIM_DESC sd, const char *text, const char
*word);

---------------------------------------

with regards, pekon






On Wed, Feb 19, 2014 at 1:50 PM, Geert Uytterhoeven <[email protected]>wrote:

> On Mon, Feb 17, 2014 at 5:09 AM, Pekon Gupta <[email protected]>
> wrote:
> > While building latest HEAD of binutils from 'jonas's toolchain' repo. I
> was
> > hit by a specific error..
>
> > (Or if there are pre-compiled binaries, then please point me to the
> same).
>
> Depends on your use case.
>
> If you just want to compile a Linux kernel for OpenRISC, and don't need
> support for building userspace, you can download binaries from
> https://www.kernel.org/pub/tools/crosstool/.
>
> Gr{oetje,eeting}s,
>
>                         Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 --
> [email protected]
>
> In personal conversations with technical people, I call myself a hacker.
> But
> when I'm talking to journalists I just say "programmer" or something like
> that.
>                                 -- Linus Torvalds
>
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to