How to install gcc, compile in Puppy?
How to install gcc, compile in Puppy?
I installed Puppy Linux. Then I installed Emacs23. Finally I compiled sbcl 1.1.3 in Ubuntu, saved it with (save-lisp-and-die "sb.cl" :executable t), and put a copy of the sb.cl compiler into usr/bin. Everything worked fine with Lisp and Emacs. Then I tried to install gcc. However, when I try to compile a gcc program, Puppy Linux complains that it cannot find tools, libraries or include files. How to install everything I need to work with gcc?
- RetroTechGuy
- Posts: 2947
- Joined: Tue 15 Dec 2009, 17:20
- Location: USA
Re: I am not able to install gcc
Which Puppy version?edu500ac wrote:I installed Puppy Linux. Then I installed Emacs23. Finally I compiled sbcl 1.1.3 in Ubuntu, saved it with (save-lisp-and-die "sb.cl" :executable t), and put a copy of the sb.cl compiler into usr/bin. Everything worked fine with Lisp and Emacs. Then I tried to install gcc. However, when I try to compile a gcc program, Puppy Linux complains that it cannot find tools, libraries or include files. How to install everything I need to work with gcc?
Puppy is stripped down, and does not include a compiler by default.
The compiler bundle (and other development tools) reside in a .sfs file.
For example, if you are running 5.28:
http://distro.ibiblio.org/puppylinux/puppy-5.2.8/
You grabbed "lupu-528.005.iso", burned it to CD and booted it.
Once you get done, and created your frugal install, you grab "lupu_devx_528-4.sfs" (the developer tools) and put it in the same directory as your save file.
Then you open:
Code: Select all
Menu >> System >> Bootmanager configure bootup.
On the next boot, it will load this bundle, and your gcc compiler.
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]
edu500ac,
There is a little How-To on this subject at http://www.murga-linux.com/puppy/viewtopic.php?t=82542. It also goes into a little detail about kernel module compiling, too.
There is a little How-To on this subject at http://www.murga-linux.com/puppy/viewtopic.php?t=82542. It also goes into a little detail about kernel module compiling, too.
[i]Puppy 5.2.8.7, Full Install[/i]