The time now is Sun 19 May 2013, 22:42
All times are UTC - 4 |
| Author |
Message |
edu500ac
Joined: 01 Jan 2013 Posts: 7
|
Posted: Tue 01 Jan 2013, 14:38 Post subject:
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?
|
|
Back to top
|
|
 |
capicoso
Joined: 13 Jan 2012 Posts: 168 Location: Argentina
|
Posted: Tue 01 Jan 2013, 15:28 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
RetroTechGuy

Joined: 15 Dec 2009 Posts: 2298 Location: USA
|
Posted: Tue 01 Jan 2013, 16:23 Post subject:
Re: I am not able to install gcc Subject description: I am not able to install the gcc toolchain. |
|
| 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: | | 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.
_________________ Wellminded Search
Add swapfile
|
|
Back to top
|
|
 |
Hotdog

Joined: 29 Sep 2011 Posts: 60 Location: Georgia USA
|
Posted: Wed 16 Jan 2013, 21:15 Post subject:
|
|
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.
_________________ Puppy 528, Full Install
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|