TinyCC in Puppy0.9.9, possible ?

Booting, installing, newbie
Message
Author
WaltA
Posts: 24
Joined: Mon 15 Aug 2005, 01:25

TinyCC in Puppy0.9.9, possible ?

#1 Post by WaltA »

[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 09:27, edited 1 time in total.

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

#2 Post by Lobster »

I must say the tinycc is - well simple . . .
http://www.goosee.com/puppy/wikka/TinyCc
and that is good (C is not my language of choice) but I consider it a top language (simply through amount of real work created)

Jesse was working on a GUI front end - any luck on that?

Can someone provide a dotpup - wait I was gonna say you can not use a dot Pup with 0.9.9 - but I believe you can?

Any advisement / suggestions for Walt welcome . . .
Last edited by Lobster on Tue 16 Aug 2005, 01:11, edited 2 times in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#3 Post by GuestToo »

the Unleashed / PupGet pacakages are here:
http://distro.ibiblio.org/pub/linux/dis ... ackages-1/

the Tiny C package is probably tcc-0.9.22.tar.gz

you would need unionfs to install packages to /usr
there is a unionfs package there which probably will work with Puppy 0.9.9 ... unionfs-1.0.11.tar.gz

if you can write to /usr, you don't need unionfs
(try pasting a file in /usr, see if it works or not)

if Puppy 0.9.9 doesn't have PupGet, you can just untar tcc-0.9.22.tar.gz and put it in /usr, and it should work

you can download files fairly reliably with dialup if you use wget -c

you can stop and resume the download any time

there are versions of wget for Windows ... Wackget works well

WaltA
Posts: 24
Joined: Mon 15 Aug 2005, 01:25

#4 Post by WaltA »

[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 09:27, edited 1 time in total.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#5 Post by Flash »

Tiny C is available as a Pupget, but I don't know if it would work with your old version of Puppy. Have you considered Puppy 1.0.5a? It has a C compiler.

WaltA
Posts: 24
Joined: Mon 15 Aug 2005, 01:25

#6 Post by WaltA »

[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 09:28, edited 1 time in total.

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

#7 Post by Lobster »

My language of choice is ASQ
http://peace.wikicities.com/wiki/ASQ

I really liked Curl (curl.com) - in fact I tried to get it running for Puppy twice now
- no luck rpm's expanded and then it was a little beyond me
I was heavily involved in developing curlchat
http://en.wikibooks.org/wiki/Curl

XUL I am trying to use

I am not really anything above a tinkerer programmer. I would like to use Rebol but it is too much tied into buying the add ons.

I wrote this page for Python
http://peace.wikicities.com/wiki/Python

. . . even started this one for the Linoleum assembler team - wonder if they are running their assembler on Linux properly yet?
http://en.wikibooks.org/wiki/Linoleum

My plan is to start writing programs as soon as I do not have to program to do so . . . :oops:
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

WaltA
Posts: 24
Joined: Mon 15 Aug 2005, 01:25

#8 Post by WaltA »

[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 09:29, edited 1 time in total.

WaltA
Posts: 24
Joined: Mon 15 Aug 2005, 01:25

#9 Post by WaltA »

[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 09:30, edited 1 time in total.

Bruce B

#10 Post by Bruce B »

Walt, Turbo C versions 1.5 thru 2.1 were small - I think you are talking somewhere along the lines of something I think is called Turbo C++ v 3

I tried compiling some apps in Puppy, but didn't have success. I've been using Vector 4.3 compiling. It works pretty good. It is somewhere around a 300 MB .iso file.

You might put in on your list to download it when you get near a broadband connection.

Vector just released 5.1, I installed it, but didn't like it as much as 4.3, so I removed it. 5.1 is probably a better release, but well I liked 4.3 good enough I guess.

PS - if you ever do get around to writing that Hello World program for Linux, I hope you will be kind enough to release it under the GNU, along with the source code. :)

WaltA
Posts: 24
Joined: Mon 15 Aug 2005, 01:25

#11 Post by WaltA »

[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 09:29, edited 1 time in total.

WaltA
Posts: 24
Joined: Mon 15 Aug 2005, 01:25

#12 Post by WaltA »

[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 09:31, edited 1 time in total.

menno

tcc gcc g77

#13 Post by menno »

May be this helps . It has also a fortran compiler .
http://www.murga.org/%7Epuppy/viewtopic.php?t=1132

WaltA
Posts: 24
Joined: Mon 15 Aug 2005, 01:25

Re: tcc gcc g77

#14 Post by WaltA »

[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 09:31, edited 1 time in total.

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#15 Post by Ian »

The basic C

#include <stdio.h>

int main(void)
{
printf("Hello from Puppy!\n");
return0;
}


or C++ program

#include <iostream.h>

int main()
{
cout << "Hello from Puppy!" << endl;
return0;
}

Save as, hello.c and compile it with this command:

gcc -o hello hello.c

or

g++ -o hello hello.c

This should produce a file named hello that you can run from the command line.

Guest

#16 Post by Guest »

Ian wrote:Save as, hello.c and compile it with this command:
gcc -o hello hello.c
Thanks Ian, I have a feeling that I have horribly misunderstood something about menno's gcc stuff :
Do I not have to "park" it somewhere within my Puppy (0.9.9 as per first post title) first before I can issue the command gcc at, presumably, the cli ?

I have programed in C before, mostly in DevC++ in Windows and PersonalCCompiler in DOS ( oh and a bit of Lcc as well, but DJGPP for dos did not suit me at all !) so it isnt the HelloWorld thing that is troubling me, just how to get a compiler into my Puppy !

But not to worry I'll be looking into puppy1.0.5 soon !

WaltA
Posts: 24
Joined: Mon 15 Aug 2005, 01:25

#17 Post by WaltA »

[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 09:32, edited 1 time in total.

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#18 Post by Ian »

Walt the easiest thing would be to download Puppy 1.0.5alpha and the file containing all the tools and go from there.
It is all ready to use, just follow Barrys instructions on the Puppy News page.

The two downloads are around the 40M mark each.

WaltA
Posts: 24
Joined: Mon 15 Aug 2005, 01:25

#19 Post by WaltA »

[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 09:33, edited 1 time in total.

User avatar
mike
Posts: 75
Joined: Sat 13 Aug 2005, 17:25
Location: Bowser

#20 Post by mike »

yes, the usr_devx.sfs as well.

you place it in the same spot as the pup001 file created by 1.05a alpha, then reboot. it then get's mounted as /usr, with all the tools to compile.

look further down the news page, keep going, that's it.

good luck

edit: sorry, i believe the 1.05a alpha edition creates a pup002?

Post Reply