public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Openrisc? How do I get started?
@ 2012-03-23 19:33 David Smoot
  2012-03-25 14:04 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: David Smoot @ 2012-03-23 19:33 UTC (permalink / raw)
  To: crossgcc

Searched the wiki, the web, and the mail list archives and so far
can't figure out step 0.

I want to build a toolchain for openrisc because I got some neat
modules from NXP for the Jennic platform I want to play with.

Downloaded crosstool, did the configure, make, make install, and
discovered I missed the asterisk that says openrisc is a contrib
library.

So from the crosstool main page I tried to go back to my download of
crosstool and issue "./configure --with-contrib=list" but I get an
error that is an unknown option.  Try "./configure --help" and see
there is no with-contrib option.

Where do I download the version of crosstool that has the contrib
stuff?  Thanks in advance,

David

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Openrisc? How do I get started?
  2012-03-23 19:33 Openrisc? How do I get started? David Smoot
@ 2012-03-25 14:04 ` Yann E. MORIN
  2012-03-25 23:07   ` David Smoot
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2012-03-25 14:04 UTC (permalink / raw)
  To: crossgcc; +Cc: David Smoot

David, All,

On Friday 23 March 2012 20:33:38 David Smoot wrote:
> I want to build a toolchain for openrisc because I got some neat
> modules from NXP for the Jennic platform I want to play with.

That's been a loooong time since I last tried to build an openrisc toolchain.
When the support was first added to crosstool-NG, none of gcc, glibc, binutils,
linux, had upstream support for openrisc, so it was added within a archive in
the source tree.

> So from the crosstool main page I tried to go back to my download of
> crosstool and issue "./configure --with-contrib=list" but I get an
> error that is an unknown option.  Try "./configure --help" and see
> there is no with-contrib option.

Indeed, the --with-contrib is no longer recognised since we switched from
our hand-written ./configure, to an autotools one.

> Where do I download the version of crosstool that has the contrib
> stuff?  Thanks in advance,

It should be possible to apply the openrisc contrib by hand. Just run the
following line before you run ./configure:
    lzcat contrib/openrisc-or32.patch.lzma |patch -p1

If that does not work, you could try with an old version, maybe something
in the 1.10.x era, or even before. But know that there will be no support
on such an ancient version.

I think it would be nice to have native openrisc support in crosstool-NG.
But that would require that all the upstream projects have openrisc support:
gcc, glibc, linux, binutils...

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Openrisc? How do I get started?
  2012-03-25 14:04 ` Yann E. MORIN
@ 2012-03-25 23:07   ` David Smoot
  0 siblings, 0 replies; 3+ messages in thread
From: David Smoot @ 2012-03-25 23:07 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc


On Mar 25, 2012, at 9:04 AM, Yann E. MORIN wrote:

David, All,

On Friday 23 March 2012 20:33:38 David Smoot wrote:
> 

>It should be possible to apply the openrisc contrib by hand. Just run the
>following line before you run ./configure:
>   lzcat contrib/openrisc-or32.patch.lzma |patch -p1

This got me started but I immediately error with some complaint about cannot touch /backtrace.  I tried building an arm toolchain for comparison and it gets past that point easily.  So the OR32 stuff is suffering from bit rot.  No big deal, I have a windows / cygwin toolchain I just would prefer a less annoying build host OS.  :).  I will mess with it as I have time and if I get lucky and figure something out I will submit patches.

Thanks for the response.

David Smoot
davidsmoot@gmail.com




--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-25 23:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23 19:33 Openrisc? How do I get started? David Smoot
2012-03-25 14:04 ` Yann E. MORIN
2012-03-25 23:07   ` David Smoot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).