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 Wed 26 Nov 2014, 22:03
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 Posts_count  
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: 2669
Location: USA

PostPosted: Tue 01 Jan 2013, 16:23    Post_subject: Re: I am not able to install gcc
Sub_title: 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.

_________________
Add swapfile
Back to top
View user's profile Send_private_message 
Hotdog


Joined: 29 Sep 2011
Posts: 109
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0468s ][ Queries: 11 (0.0039s) ][ GZIP on ]