| Author |
Message |
Guest
Guest
|
Posted: Tue 16 Aug 2005, 19:50 Post subject:
|
|
| 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 !
|
|
Back to top
|
|
 |
WaltA
Joined: 14 Aug 2005 Posts: 24
|
Posted: Tue 16 Aug 2005, 19:55 Post subject:
|
|
[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 05:32; edited 1 time in total
|
|
Back to top
|
|
 |
Ian
Official Dog Handler

Joined: 04 May 2005 Posts: 1237 Location: Queensland
|
Posted: Tue 16 Aug 2005, 21:18 Post subject:
|
|
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.
|
|
Back to top
|
|
 |
WaltA
Joined: 14 Aug 2005 Posts: 24
|
Posted: Tue 16 Aug 2005, 22:13 Post subject:
|
|
[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 05:33; edited 1 time in total
|
|
Back to top
|
|
 |
mike

Joined: 13 Aug 2005 Posts: 75 Location: Bowser
|
Posted: Tue 16 Aug 2005, 22:16 Post subject:
|
|
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?
|
|
Back to top
|
|
 |
WaltA
Joined: 14 Aug 2005 Posts: 24
|
Posted: Tue 16 Aug 2005, 22:42 Post subject:
|
|
[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 05:34; edited 1 time in total
|
|
Back to top
|
|
 |
Ian
Official Dog Handler

Joined: 04 May 2005 Posts: 1237 Location: Queensland
|
Posted: Wed 17 Aug 2005, 01:38 Post subject:
|
|
I just followed Barry's instructions, booted 1.0.5 alpha, set a partition, created a file named pup002, put the other file usr_devx.sfs on the same partition and started compiling programs.
1.2 Gig should be heaps unless you intend to compile or create a humungus program.
|
|
Back to top
|
|
 |
WaltA
Joined: 14 Aug 2005 Posts: 24
|
Posted: Wed 17 Aug 2005, 16:06 Post subject:
|
|
[Wasre of time
Last edited by WaltA on Fri 19 Aug 2005, 05:35; edited 1 time in total
|
|
Back to top
|
|
 |
menno
Guest
|
Posted: Thu 18 Aug 2005, 17:15 Post subject:
gcc/g77/tcc |
|
That correct the newer versions are all tar.gz file's because they are smaller.
Exstract them in /root/my-applications , it puts all the compilers in /bin
add a /include and a /lib to it . The gccbin.zip include a lot of thing how are not nessecare to have for a compiler . Greatings Menno .
|
|
Back to top
|
|
 |
|