How to use gcc 4.2.2?

Booting, installing, newbie
Post Reply
Message
Author
User avatar
enhu
Posts: 302
Joined: Wed 27 May 2009, 02:13
Contact:

How to use gcc 4.2.2?

#1 Post by enhu »

i've just installed gcc 4.2.2
but it don't work on the rxvt terminal
gcc -v don't even respond.

does anybody tried this and made it work?

User avatar
enhu
Posts: 302
Joined: Wed 27 May 2009, 02:13
Contact:

#2 Post by enhu »

i'm using puppy 431
no one tried this yet?

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#3 Post by Lobster »

Is this any help or are you asking about the latest compiler?
http://puppylinux.org/wikka/Compiling
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
enhu
Posts: 302
Joined: Wed 27 May 2009, 02:13
Contact:

#4 Post by enhu »

i'm asking for the latest compiler that will work in puppy 431.
i've installed this gcc-4.2.2-1 but it won't work.

this will suppose to work in the terminal right?

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#5 Post by Lobster »

I feel we are having a lack of understanding :oops:

To convert Puppy into a complete compiler environment it is necessary to acquire a special .sfs file that corresponds with the version of Puppy Linux that will be used for compiling.

Download and install this SFS to compile gcc programs in Puppy 4.3.1
http://distro.ibiblio.org/pub/linux/dis ... vx_431.sfs

For liveCD/DVD and frugal installations save or copy the file to /mnt/home

menu / system / bootmanager
and add the devx sfs

The Quirky devx sfs has gcc 4.3.4 if you need a later compiler
If you want to use the compiler you have downloaded and installed
I don't know how that is done
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
enhu
Posts: 302
Joined: Wed 27 May 2009, 02:13
Contact:

#6 Post by enhu »


tubby
Posts: 317
Joined: Sat 24 Jan 2009, 15:49

#7 Post by tubby »

If you are using a full install try the pet in this link.

http://murga-linux.com/puppy/viewtopic.php?t=40779

User avatar
enhu
Posts: 302
Joined: Wed 27 May 2009, 02:13
Contact:

#8 Post by enhu »

tubby wrote:If you are using a full install try the pet in this link.

http://murga-linux.com/puppy/viewtopic.php?t=40779
the instructions in this link don't work.

however i didn't get the instructions given the lobsters link.

Full hard drive installation
This is a conventional Linux installation.
Currently, installing the "devx" file in a full hard drive installation (as opposed to a "frugal" installation) is slightly more complicated, and you can't undo it. It involves some steps....

1. Click on the devx_xxx.sfs in a ROX-Filer window to mount it.
2. Open a terminal in the mounted directory.
3. # cp -a --remove-destination ./* /mnt/hda2/
4. # sync
5. Close the terminal.
6. Click on the devx_xxx.sfs file to unmount it.

i didn't get that bold part there. :D

can you tell me what really does it mean?
not sure about remove -destination

should i just paste it the way it is?

User avatar
enhu
Posts: 302
Joined: Wed 27 May 2009, 02:13
Contact:

#9 Post by enhu »

finally i've installed it and the gcc is now working. the only problem i have right now is the missing dependency...it says phyton

where can i get it please?

mcalex
Posts: 78
Joined: Sun 23 Apr 2006, 14:52
Location: Perth, WA

#10 Post by mcalex »

hi enhu

the '--remove-destination' flag blats the file if it already exists in the directory you are copying to.

as for python (assuming phyton is a misspelling), try:
http://www.murga-linux.com/puppy/viewtopic.php?p=209578,
or http://www.murga-linux.com/puppy/viewto ... 6a40ccbf6c

cheers
mcalex


ps: if you mean phyton, then, sorry, i cannae help. hopefully someone cleverer will be along shortly

User avatar
enhu
Posts: 302
Joined: Wed 27 May 2009, 02:13
Contact:

#11 Post by enhu »

thanks i really mean python.

waynev
Posts: 29
Joined: Wed 03 Sep 2008, 17:11

#12 Post by waynev »

Lobster wrote:I feel we are having a lack of understanding :oops:

To convert Puppy into a complete compiler environment it is necessary to acquire a special .sfs file that corresponds with the version of Puppy Linux that will be used for compiling.

Download and install this SFS to compile gcc programs in Puppy 4.3.1
http://distro.ibiblio.org/pub/linux/dis ... vx_431.sfs

For liveCD/DVD and frugal installations save or copy the file to /mnt/home

menu / system / bootmanager
and add the devx sfs

The Quirky devx sfs has gcc 4.3.4 if you need a later compiler
If you want to use the compiler you have downloaded and installed
I don't know how that is done
solved

Post Reply