|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Free Compiler/Linker for WinXP?
I'm trying to learn C well enough to head our team's programming group. I'd like to find a compiler and linker that I can run under XP Home, the OS of my family's PC. I'd also like it to be free - being an unemployed high schooler doesn't give me very much free money.
Any suggestions? |
|
#2
|
||||
|
||||
|
Re: Free Compiler/Linker for WinXP?
Quote:
|
|
#3
|
||||
|
||||
|
Or: http://www.bloodshed.net/
I believe it's also a port of gcc... but without the entire Cygwin environment and it throws in an IDE I believe... I dunno myself as I've never used it. |
|
#4
|
||||
|
||||
|
I've used it before for C++ work, it's pretty nice, if a little picky, however I never tried it with C. Also, all you should need to learn is the syntax structure. Anything beyond that would be wasted as the RCs use a different architecture altogether.
|
|
#5
|
|||
|
|||
|
eclipse
In school, we use eclipse for programming (www.eclipse.org). It works greats. (we use it for Java, but the site says it works for all (i think))
|
|
#6
|
|||||
|
|||||
|
Quote:
As for a compiler/linker, as far as I know, if one works on Win95, 98, or ME, it'll work on 2k, NT, and XP. |
|
#7
|
|||
|
|||
|
I personally use the DJGPP compiler, because of the Allegro library, but I would recommend the cygwin port of gcc. Gcc is stable, can be used under most OSes, and is free. The initial setup of Cygwin is not difficult, and gcc has so many tutorials available.
|
|
#8
|
|||||
|
|||||
|
Look up LCC. It's quite nice.
As is Dev C++...but I prefer LCC for C programming. |
|
#9
|
||||
|
||||
|
What's so special about the Allegro library, couldn't you use it with any of the compilers listed above?
Of course, I don't know what the library does, but there's not much reason the Allegro library should be tied to the compiler...? |
|
#10
|
|||||
|
|||||
|
Quote:
The only compiler AFAIK that I know of that will help is the one that Microchip has. Others will just through out an error, due to the fact that the keywords are different (in C18, you don't have void main(...){ ... }, you have [some new type] main(...){...}) If you look at the docs, I think that a starting program is given. |
|
#11
|
|||||
|
|||||
|
Quote:
The keywords aren't different...they're the same. It's the majority of the same language as C, but you just don't have a lot of the libs. There's a different between keywords and library functions. Oh and on a side note: The main function on an 18F8520 isn't 'main'...it's 'entry'. ![]() |
|
#12
|
|||||
|
|||||
|
Quote:
![]() I could've sworn I read somewhere about the C18 language that the keywords are different....all well. I know there's a difference between keywords & library functions. Not to mention the fact that functions and keywords aren't even the same. |
|
#13
|
||||
|
||||
|
Quote:
Thanks for the suggestions. Right now, I'm planning on downloading the compilers suggested and seeing what one works best for me. Second question: does anyone have a copy of the sample program for the EDU this year? Unless things have changed, 818 isn't going to be getting one this year. I'd still like to see the program, though. Again, thanks for all of the suggestions. Now, I've got two months to learn C... |
|
#14
|
|||||
|
|||||
|
Quote:
Also, there was a White Paper posted today with a modified version of the default code. If you want to see how some teams did it, then you can look in that... |
|
#15
|
||||
|
||||
|
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Good free 3D CAD software | sanddrag | Inventor | 11 | 20-10-2003 21:44 |
| I need free servers compatable with phpBB | LBK Rules | Website Design/Showcase | 19 | 09-02-2003 20:16 |
| custom cylinders free? | tenfour | General Forum | 2 | 29-01-2003 08:08 |
| For those going to nats here is a coupon for a free thing | mnkysp6353 | General Forum | 1 | 13-02-2002 09:07 |
| Hey anyone in colorado need free airline tickets? | mnkysp6353 | General Forum | 0 | 02-10-2001 17:11 |