All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Wallentowitz <stefan@wallentowitz.de>
To: openrisc@lists.librecores.org
Subject: [OpenRISC] Installing gcc commpiler on openrisc linux
Date: Thu, 25 Aug 2016 09:13:49 +0200	[thread overview]
Message-ID: <ab2639ae-6747-ce88-edc3-559700c4b45c@wallentowitz.de> (raw)
In-Reply-To: <CAAfxs75ioYwn81RX_raF0rWW0Pwu00V6kj4B_RKqYAFWpjbd6g@mail.gmail.com>

On 25.08.2016 01:44, Stafford Horne wrote:
> Hello Manaar,
> 
> The openrisc Linux build creates an image with all the tools provided
> using busybox (it's in the kernel source tree). So it's basically a
> busybox embedded system.  You can Google about adding gcc or another c
> compiler to busybox for details.
> 
> I don't think it's been done before. Gcc is rather large for de0 nano
> ;it's not just gcc but linkers and assemblers and libraries you would
> want to link in. However, I wouldnt bet it's impossible if you strip it
> down.
> 
> -Stafford

Hi Manaar,

just to add to this and Jeremy's comment: It is not the standard way to
compile inside the target system. Instead you cross-compile on your host
and transfer the binary ELF to the target.

I am not sure if the tutorial already covers adding files to the ramdisk
(the image you load onto the target). Stafford, you are the expert on
this, right?

Cheers,
Stefan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.librecores.org/pipermail/openrisc/attachments/20160825/e9322d03/attachment.sig>

  parent reply	other threads:[~2016-08-25  7:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-24 23:03 [OpenRISC] Installing gcc commpiler on openrisc linux Manaar Alam
2016-08-24 23:44 ` Stafford Horne
2016-08-25  7:03   ` Jeremy Bennett
2016-08-25  7:13   ` Stefan Wallentowitz [this message]
2016-08-25  7:15     ` Stafford Horne
     [not found]   ` <CAFoY_ww=jonkgne6xTis6EvGLJFGTnw_O=HEhCbNZnvQFutO8A@mail.gmail.com>
     [not found]     ` <CAAfxs77h1CeyF2awfWOrKDdGmVW2aGinJPAF_CatfMF4KdWKLg@mail.gmail.com>
2016-08-25  7:19       ` Stafford Horne
2016-08-25  8:15         ` Jeremy Bennett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ab2639ae-6747-ce88-edc3-559700c4b45c@wallentowitz.de \
    --to=stefan@wallentowitz.de \
    --cc=openrisc@lists.librecores.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.