Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 17 Apr 2014, 07:05
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to install gcc, compile in Puppy?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
edu500ac

Joined: 01 Jan 2013
Posts: 7

PostPosted: 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
View user's profile Send private message 
capicoso

Joined: 13 Jan 2012
Posts: 172
Location: Argentina

PostPosted: 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
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2634
Location: USA

PostPosted: 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
View user's profile Send private message 
Hotdog


Joined: 29 Sep 2011
Posts: 103
Location: Georgia USA

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

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
[ Time: 0.0452s ][ Queries: 11 (0.0049s) ][ GZIP on ]