help-nano
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-nano] Compile for PowerPC


From: Chris Allegretta
Subject: Re: [Help-nano] Compile for PowerPC
Date: Tue, 14 Jul 2015 12:11:57 -0400

On 7/14/15, Josu Lazkano <address@hidden> wrote:
> Sorry for the late reply.
>
> I can not compile in the satellite receiver, there is no compilation
> tools there. I want to use the toolchain for that, but I don't know
> how to do it.
>
> I know that people use the toolchain to compile some software for the
> satellite receiver, but I don't know how to do it.
>
> Kind regards

I don't know a ton about cross-compiling, but this page seems to show
you the basic steps, albeit for a different architecture:
https://www.ailis.de/~k/archives/19-arm-cross-compiling-howto.html -
this requires that you have a GNU/Linux machine to cross-compile from.

If you happen to have Debian or Ubuntu for your distribution you can
automatically install a cross-compiling GCC with just:

sudo apt-get install gcc-powerpc-linux-gnu

Then you'll need to cross-compile ncurses which nano needs to build,
and finally (presumably) nano should cross-compile; it at least seemed
like it would have when I tried it with:
CC=powerpc-linux-gnu-gcc ./configure --host=powerpc-linux-gnu

in the nano source dir

I hope this helps.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]