Go to Post I can't think of anything [I]better[/I] to do. - Mr. Van [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-11-2003, 13:22
IMDWalrus's Avatar
IMDWalrus IMDWalrus is offline
This is a line...
AKA: Paul
FRC #0818 (Genesis '02)
Team Role: Alumni
 
Join Date: Mar 2003
Rookie Year: 2003
Location: Michigan
Posts: 617
IMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to behold
Send a message via AIM to IMDWalrus
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   Spotlight this post!  
Unread 02-11-2003, 13:45
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Free Compiler/Linker for WinXP?

Quote:
Originally posted by IMDWalrus
Any suggestions?
Well, as long as you don't need an IDE, I'd recommend installing Cygwin. It'll provide you with a Unix-like environment, but more importantly it will provide you with the GCC compiler suite. Just make sure you select everything under the "Development" secction when installing Cygwin.
  #3   Spotlight this post!  
Unread 02-11-2003, 14:22
djcapelis's Avatar
djcapelis djcapelis is offline
Fried Manic Custard
None #0675 (Geeks with Power Tools)
Team Role: Programmer
 
Join Date: May 2003
Rookie Year: 2001
Location: Rohnert Park, CA
Posts: 129
djcapelis will become famous soon enoughdjcapelis will become famous soon enough
Send a message via ICQ to djcapelis Send a message via AIM to djcapelis Send a message via Yahoo to djcapelis
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.
__________________
"I have more friends than enemies, I'm working to resolve the issue."
  #4   Spotlight this post!  
Unread 02-11-2003, 14:46
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
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.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #5   Spotlight this post!  
Unread 02-11-2003, 14:59
apk apk is offline
Hi Everyone, I'm Back.
AKA: Andrew K.
#0104 (Team Universal)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: West Chester, PA
Posts: 206
apk will become famous soon enough
Send a message via ICQ to apk Send a message via AIM to apk Send a message via MSN to apk Send a message via Yahoo to apk
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))
__________________
~Andrew
http://www.team104.com/
  #6   Spotlight this post!  
Unread 02-11-2003, 17:25
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Quote:
Originally posted by djcapelis
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.
The IDE is called Dev-C++, and it has gcc, and MingW (a gcc port to the Windows platform). I've used it before, and find it decent for a free tool. I can't say it's perfect because even the last stable version (4.0.1) wasn't all that good, but the v5 betas are getting there.

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.
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #7   Spotlight this post!  
Unread 02-11-2003, 19:28
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
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.
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
  #8   Spotlight this post!  
Unread 03-11-2003, 03:53
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
Look up LCC. It's quite nice.

As is Dev C++...but I prefer LCC for C programming.
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com
  #9   Spotlight this post!  
Unread 03-11-2003, 21:59
djcapelis's Avatar
djcapelis djcapelis is offline
Fried Manic Custard
None #0675 (Geeks with Power Tools)
Team Role: Programmer
 
Join Date: May 2003
Rookie Year: 2001
Location: Rohnert Park, CA
Posts: 129
djcapelis will become famous soon enoughdjcapelis will become famous soon enough
Send a message via ICQ to djcapelis Send a message via AIM to djcapelis Send a message via Yahoo to djcapelis
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...?
__________________
"I have more friends than enemies, I'm working to resolve the issue."
  #10   Spotlight this post!  
Unread 04-11-2003, 16:03
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Quote:
Originally posted by Matt Krass
...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.
I think we've all forgotten about this point (including me). Dev-C++ won't help us when we need to program the robot, LCC won't help us if we need to fix a programming error in 5 mins. flat.

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.
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #11   Spotlight this post!  
Unread 04-11-2003, 16:18
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
Quote:
Originally posted by Raven_Writer
I think we've all forgotten about this point (including me). Dev-C++ won't help us when we need to program the robot, LCC won't help us if we need to fix a programming error in 5 mins. flat.

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.
I think the starter of this thread was wanting to learn general C first, then learn PIC-C. These suggestions would work fine for that...

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'.
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com
  #12   Spotlight this post!  
Unread 04-11-2003, 16:23
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Quote:
Originally posted by Jeremy_Mc
I think the starter of this thread was wanting to learn general C first, then learn PIC-C. These suggestions would work fine for that...

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'.
Well, we can't really tell, but yea, your probably right

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.
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #13   Spotlight this post!  
Unread 04-11-2003, 19:30
IMDWalrus's Avatar
IMDWalrus IMDWalrus is offline
This is a line...
AKA: Paul
FRC #0818 (Genesis '02)
Team Role: Alumni
 
Join Date: Mar 2003
Rookie Year: 2003
Location: Michigan
Posts: 617
IMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to behold
Send a message via AIM to IMDWalrus
Quote:
Originally posted by Jeremy_Mc
I think the starter of this thread was wanting to learn general C first, then learn PIC-C. These suggestions would work fine for that...
That was, in fact, my goal.

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   Spotlight this post!  
Unread 04-11-2003, 22:48
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
Quote:
Originally posted by IMDWalrus
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.
www.innovationfirst.com -- They have the default code on there listed under 'Documents'.

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...
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com
  #15   Spotlight this post!  
Unread 05-11-2003, 15:45
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Quote:
Originally posted by Jeremy_Mc
Oh and on a side note: The main function on an 18F8520 isn't 'main'...it's 'entry'.
Depends on your definition of "main function". The user entry point (what most people would describe as the main function) is still main(). _entry() is just the reset vector. For a programmer sitting down to write code for the new robot, they will still start with main().
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 00:34.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi