![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Member
Join Date: Nov 2002
Location: Point Cook
Posts: 41
|
Hi all,
Does anyone know of a free (as in beer) C (not C++) compiler for Windoze that does all that gcc does - ie a full Posix-compliant API? I would prefer a solution that did not need cygwin - the software is not for me but for my students who do not have / know / hate *nix but who cannot afford little Billy's inflated price for VC++. BTW: Posted in this forum 'coz the Redmond folk probably don't know what 'gcc' is. (Not even sure that they know what beer is )
__________________
"That means calculations, such as working out the factors of prime numbers, which present problems for even the fastest supercomputers, could be trivialized by a quantum computer." http://www.infoworld.com/article/03/...through_1.html Last edited by gone_bush; 3rd April 2004 at 4:59 PM. |
|
|
|
| Join OCAU to remove this ad! |
|
|
#2 |
|
Member
Join Date: Mar 2003
Location: Sydney
Posts: 1,744
|
No offense but did you bother to google?
First result returned was http://sis.bris.ac.uk/~dw0857/ mingw-32 also works afaik. |
|
|
|
|
|
#3 |
|
Member
Join Date: Nov 2002
Location: Point Cook
Posts: 41
|
No offence taken - I only went to gcc.gnu.org. And yes, I was / am / always will be lazy.
I haven't, as yet, fully explored the site you mentioned but, at first sight, seems to be what I want. Thx for your reply.
__________________
"That means calculations, such as working out the factors of prime numbers, which present problems for even the fastest supercomputers, could be trivialized by a quantum computer." http://www.infoworld.com/article/03/...through_1.html |
|
|
|
|
|
#4 |
|
Member
Join Date: Jun 2001
Location: Melbourne, Australia
Posts: 120
|
Why not download Cygwin and use the windows port of GCC they provide.
|
|
|
|
|
|
#5 |
|
Member
Join Date: Jun 2001
Location: 127.0.0.1
Posts: 726
|
You might want to give LCC for windows a try. If you're just learning C it's quite capable.
__________________
- YARR
|
|
|
|
|
|
#6 |
|
Member
Join Date: Jun 2001
Location: Brisbane
Posts: 1,141
|
I'm using djcpp for all my uni C coding - working well so far
__________________
DrDevil |
|
|
|
|
|
#7 |
|
Member
Join Date: Jul 2001
Location: Melbourne
Posts: 1,034
|
another vote for lcc.. i've had no issues recompiling source from that on unix machines w/ gcc
|
|
|
|
|
|
#9 |
|
Member
Join Date: May 2002
Location: Sydney
Posts: 506
|
There is also the windows Unix addon thing, it bascially like cygwin except it's from microsoft
|
|
|
|
|
|
#10 |
|
Member
Join Date: Apr 2002
Location: Dandenong
Posts: 759
|
There are quite a few free C(++) compilers for windows:
__________________
project-2501.net | "Real programmers don't comment their code. It was hard to write, it should be hard to understand." | Soran / Nagrand Holy Paladin |
|
|
|
|
|
#11 |
|
Member
Join Date: Nov 2002
Location: Point Cook
Posts: 41
|
Hi Buzzard,
Thx for your suggestions. But (don't you hate that word?) how many of those compilers come with libraries that include 'pipe', 'dup', 'dup2' at such things? Or is that stupid question 'coz all C compilers come with such libraries? Yeah, I could download the doco / software / other shit and find out for myself, but, as I said above, I'm basically lazy. )
__________________
"That means calculations, such as working out the factors of prime numbers, which present problems for even the fastest supercomputers, could be trivialized by a quantum computer." http://www.infoworld.com/article/03/...through_1.html |
|
|
|
|
|
#12 |
|
Member
Join Date: Apr 2002
Location: Dandenong
Posts: 759
|
I don't know what 'pipe', 'dup' and 'dup2' are but, all the compilers above come with all the standard c libraries and headers (stdio, stdlib, etc..), and a couple also come with the C++ template library (like BCBX).
__________________
project-2501.net | "Real programmers don't comment their code. It was hard to write, it should be hard to understand." | Soran / Nagrand Holy Paladin |
|
|
|
|
|
#13 |
|
Member
Join Date: Jun 2001
Location: Sydney
Posts: 332
|
you're after g++ , the windows port of gcc
the Devcpp IDE uses it
__________________
©¿©'' |
|
|
|
|
|
#14 |
|
Member
Join Date: Jun 2001
Location: Seattle
Posts: 1,162
|
pipe, dup and dup2 are all OS specific system calls. Hence, if you want the same functionality in windows then your going to need to run an emulator such as cygwin. Alternatively, you could learn how the windows programming model works and the windows API and do it the windows way. AFAIK, DOS supports pipes natively and I suppose it should support dup and dup2 as well. You would have to check though.
|
|
|
|
|
|
#15 | |
|
Imperator Augustus
Join Date: Jun 2001
Location: Holy Roman Empire
Posts: 2,642
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|