Re: Compile for PowerPC
Chris Allegretta <[email protected]>
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Message-ID | <CAJqk+=OowF1iriaQ3qr_YfcwkmtXw1UqxLLaUXuGFmce0yxtWQ@mail.gmail.com> |
On 7/14/15, Josu Lazkano <[email protected]> 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.