Shop OBEX P1 Docs P2 Docs Learn Events
C compiler?? — Parallax Forums

C compiler??

RobofreakRobofreak Posts: 93
edited 2008-09-15 06:33 in General Discussion
Hello all,

I am going to be on a FIRST Robotics team this year soon, and the microcontroller they are using is programmed in C. I have a book on how to program in C, but I need a compiler (and the book doesn't have any recommendations for a compiler when it covers what a compiler is). I've done Google searches and found many results, but I'd like to see the forum's opinions.

Thanks for the help,
Austin

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Austin Bowen,

Robo-freak.com
www.livesoundforum.com

"One must watch out for mechanics. They start out with a sewing machine, and end up with the atomic bomb" - A quote from someone that I saw on Addall.com

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-09-15 00:23
    You will need to give more information if you want any sort of meaningful answer. For example, what kind of microcontroller are you talking about? What compilers are you talking about? If the microcontroller is already to be programmed in C, there's probably a specific compiler required. Many C (and other programming language) compilers are not free, particularly for microcontrollers. Some in fact are quite expensive. Cost doesn't necessarily reflect quality.
  • RobofreakRobofreak Posts: 93
    edited 2008-09-15 01:36
    The control system they're using is called CompactRIO. I know practically nothing about it but they're going to show how to use it if I get on the programming team. I don't need the compiler for it though I just need a free compiler that'll run off my computer (Windows 2000) so I can get the gist of programming in C before I get there.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Austin Bowen,

    Robo-freak.com
    www.livesoundforum.com

    "One must watch out for mechanics. They start out with a sewing machine, and end up with the atomic bomb" - A quote from someone that I saw on Addall.com
  • pwillardpwillard Posts: 321
    edited 2008-09-15 01:53
    If you want to test ideas and algorithm's out with a free non-proprietary Windows C compiler, try DEV-C. http://www.bloodshed.net/devcpp.html

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    There's nothing like a new idea and a warm soldering iron.
  • Mike GreenMike Green Posts: 23,101
    edited 2008-09-15 02:03
    Ch is a free C interpreter and IDE (Integrated Development Environment) here: www.softintegration.com/.
    These folks sell a professional version, but there's a free student version and a free "standard" version. The student version
    would be good for you to learn C and try out ideas.
  • Capt. QuirkCapt. Quirk Posts: 872
    edited 2008-09-15 05:30
    It's my understanding the RIO will also accept C++. The problems I have seen with most C books and new C ide's is the books were written in the C89 std and most compilers (ide's) use the C99 std.

    I'm pretty sure it was Brad Miller at WPI that developed the RIO for FIRST.·They use Eclipse at WPI and I'll bet they'll be using it this year too. I'd recomend to check out this page http://users.wpi.edu/~bamiller/WPILib/·and send an email to Brad asking about Eclipse,·the RIO & C++.

    I·like this version of eclipse·(unless B.M. may already have another plugin ready) http://wascana.sourceforge.net/··The only change I did with this version, was to set the PATH manually, instead of using the automatic find PATH feature.
  • GICU812GICU812 Posts: 289
    edited 2008-09-15 06:33
    Hey, not to hijack, but since C people will be looking, what the heck does it mean when I get :
    "Undefined Extern name '_P1_EXISTS_' in module 'INTS_MOD'

    What does that error mean, what is a module, and where might I find this 'ints_mod'? Yea newbie..
Sign In or Register to comment.