TinyCC in Puppy0.9.9, possible ?
TinyCC in Puppy0.9.9, possible ?
[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 09:27, edited 1 time in total.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
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 . . .
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.
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
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
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
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 . . .
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 . . .
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.
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.
tcc gcc g77
May be this helps . It has also a fortran compiler .
http://www.murga.org/%7Epuppy/viewtopic.php?t=1132
http://www.murga.org/%7Epuppy/viewtopic.php?t=1132
Re: tcc gcc g77
[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 09:31, edited 1 time in total.
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.
#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.
Thanks Ian, I have a feeling that I have horribly misunderstood something about menno's gcc stuff :Ian wrote:Save as, hello.c and compile it with this command:
gcc -o hello hello.c
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 !
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?
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?