How to install gcc, compile in Puppy?

Booting, installing, newbie
Post Reply
Message
Author
edu500ac
Posts: 7
Joined: Tue 01 Jan 2013, 18:21

How to install gcc, compile in Puppy?

#1 Post by edu500ac »

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?

capicoso
Posts: 172
Joined: Fri 13 Jan 2012, 23:38
Location: Argentina

#2 Post by capicoso »

How did you install gcc?
With puppy all you need to do is load the _devx.sfs corresponding to your puppy version.
I.e if you use slacko5.4 you have to download slacko_5.4devx.sfs and load it with sfs-load-on-the-fly.

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

Re: I am not able to install gcc

#3 Post by RetroTechGuy »

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?
Which Puppy version?

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.
Move the devx file above to the right side of the widget, close and reboot.

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]

User avatar
Hotdog
Posts: 134
Joined: Fri 30 Sep 2011, 03:15
Location: Georgia USA

#4 Post by Hotdog »

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.
[i]Puppy 5.2.8.7, Full Install[/i]

Post Reply