Re: GCC / EGCS
- Posted by Beaumont Furniss <bfurniss at IHUG.CO.NZ> Jun 08, 2000
- 447 views
On 2000-06-08 EUPHORIA at LISTSERV.MUOHIO.EDU said: K&R <--> ansi The differences aren't that great , a little software and you can translate between the two , a lookup table ; for substitutions might suffice. You could put this Compiler in rom and run the whole thing from ram , on a palmtop this is probably what you do anyway. I use my ramdrive , as a temporary drive for pcc, this makes everything that much faster and saves on disk accesses . When the file I'm editing/compiling runs correctly ; I save that to the hdd. Pcc uses the classical approach to passing parameters to functions though , there are a few other peculiarities , unsigned long doesn't appear to be supported ; something else also..... EU>I also use pcc, I found it at simtel.net. It is not ansi, but EU>"Kernighan&Ritchie" compatible, like the cc compiler I used on Sun EU>stations. What is great is that it works even on PC-XT, no need to EU>have a >386 processor... I use it on my HP 200LX palmtop in the EU>train. EU>Riwal EU>> -----Original Message----- EU>> Sent: Thursday, June 08, 2000 9:30 AM EU>> On 2000-06-07 EUPHORIA at LISTSERV.MUOHIO.EDU said: EU>> EU>> Like mentioned earlier, GCC ( EGCS now ) is freely EU>>available for EU>>many operating systems including DOS. UNIX is EU>>criptic to the EU>average windows user. EU>> EU>> that is why windows is still king of the PC. Unix compilers EU>>*can* EU>work under EU>> EU>> linux because Linux is basically a free System V Unix EU>> EU>implementation. > EU>> EU>I actually want to take the time to learn C. I had previously EU>> EU>downloaded and installed EGCS and..... And I couldn't the EU>>the EU>$*#@ thing to work. I fought with the piece of #*$% for EU>>a short EU>time until I decided it just wasn't worth my time. EU>> EU>I still have desire to learn C. I have programs that I can EU>>get FREE EU>source to but can't get in compiled format that I EU>>want to compile EU>in C. But if I have to FIGHT with the $*#@ EU>>Compiler then the whole EU>$*#@ lot can just kiss my @$$. EU>> EU>Sincerely, EU>> EU>Lucius L. Hilley III EU>> The recipe that works for me , PCC , ansi C text ; h.schildt - EU>> teach yourself C. also a few shell" " calls from quickbasic , EU>>or equivalently system() calls from euphoria , or a batch file EU>>to interface to something like the enhanced version of EDIT. EU>> Pcc , like other C-compilers , isn't 100% ansi compatible ; EU>>going through the ansi-C text however , I'm able to build up a EU>>number of examples EU>> that are and can be compiled from within Pcc. The variations EU>>aren't great , EU>> yet these need to be documented. Things like gets() for EU>>instance , rather EU>> than getche(). EU>> Once the documentation ,to go with Pcc, is complete and the EU>>examples are completed then I can revise ; yet again what I EU>>learn't. This certainly is an improvement on the course I EU>>attended at a local Polytechnic , on C coding , a few years ago. EU>> Eventually a larger compiler might be considered , presently EU>>though there's enough to keep me busy. EU>> If anyone wants the details , send me a message. EU>> Net-Tamer V 1.11 - Test Drive Net-Tamer V 1.11 - Test Drive