|
|
|
|
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
November 20, 2009, 08:42:35 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
SoR Robot Chat every friday night. Join us!
http://www.societyofrobots.com/robotforum/chat/
Robot Forum
72,665
Posts in
9,267
Topics by
5,290
Members
Latest Member:
robertelson
Robot Forum
>
Software
>
Software
>
C compiler recommendation? (not microcontroller)
0 Members and 1 Guest are viewing this topic.
Pages:
[
1
]
Author
Topic: C compiler recommendation? (not microcontroller) (Read 5668 times)
Admin
Administrator
Supreme Robot
Helpful? 62
Offline
Posts: 8,610
C compiler recommendation? (not microcontroller)
«
on:
August 19, 2007, 08:22:05 AM »
I need to do some robot navigation testing that would cause too much trouble to do on a microcontroller.
I basically want to run the code on my laptop and fiddle with the output until I like it. Then I can port it over to a microcontroller.
So the question is, does anyone have any recommendations for a C compiler? I used to have a good one but I cant remember what it was. I think Borland Turbo C?
Any recommendations?
Logged
subscribe to SoR's YouTube account
cybcode
Jr. Member
Helpful? 0
Offline
Posts: 18
Re: C compiler recommendation? (not microcontroller)
«
Reply #1 on:
August 19, 2007, 08:50:57 AM »
There are so many. Are you looking for one for Windows?
lcc-win32 is easy to set up and free, but can only compile pure C as far as I know, not C++ (
http://www.cs.virginia.edu/~lcc-win32/
).
Open Watcom is also quite easy to set up and free (
http://www.openwatcom.org/
).
There is of course also MS Visual C++ Express (
http://msdn2.microsoft.com/en-us/express/default.aspx
).
MingW is a UNIX style development system (for Windows) with GCC and other related tools (
http://www.mingw.org/
).
Cygwin is another such system (
http://www.cygwin.com/
).
There's also Turbo C++ but I haven't used it (
http://www.turboexplorer.com/cpp
).
Logged
snow
Full Member
Helpful? 0
Offline
Posts: 73
Re: C compiler recommendation? (not microcontroller)
«
Reply #2 on:
August 20, 2007, 07:20:34 AM »
I like Dev-C++ (
http://www.bloodshed.net/devcpp.html
). It's an IDE that comes with Mingw (gcc) compiler.
(F9 to compile & run
)
Logged
Admin
Administrator
Supreme Robot
Helpful? 62
Offline
Posts: 8,610
Re: C compiler recommendation? (not microcontroller)
«
Reply #3 on:
August 20, 2007, 07:28:00 AM »
You guys posted a lot of C++ compilers . . . can these also do C?
The program Im writing is just for code verification for another program Im writing for a microcontroller, so I want it to be in C.
Logged
subscribe to SoR's YouTube account
cybcode
Jr. Member
Helpful? 0
Offline
Posts: 18
Re: C compiler recommendation? (not microcontroller)
«
Reply #4 on:
August 20, 2007, 08:09:39 AM »
Generally, every C program will compile with a C++ compiler. It doesn't work the other way around. C++ is C with some extensions. If you plan to move your code back to a pure C compiler eventually (e.g. for the microcontroller), you should make sure you don't use any C++ extensions while developing with the C++ compiler.
Logged
JesseWelling
Expert Roboticist
Supreme Robot
Helpful? 0
Offline
Posts: 707
Only You Can Build A Robot!
Re: C compiler recommendation? (not microcontroller)
«
Reply #5 on:
August 20, 2007, 09:35:27 AM »
I like gcc....
Logged
DomoArigato
Full Member
Helpful? 1
Offline
Posts: 54
Re: C compiler recommendation? (not microcontroller)
«
Reply #6 on:
August 21, 2007, 09:09:49 AM »
I've set up eclipse + mingw(GCC) without much hassle. It works well for me.
Logged
Robotboy86
Robot Overlord
Helpful? 0
Offline
Posts: 139
Re: C compiler recommendation? (not microcontroller)
«
Reply #7 on:
August 25, 2007, 04:51:30 PM »
gcc for the win!
Logged
Pages:
[
1
]
Jump to:
Please select a destination:
-----------------------------
General Misc
-----------------------------
=> Misc
=> Robot Videos
-----------------------------
Software
-----------------------------
=> Software
-----------------------------
Electronics
-----------------------------
=> Electronics
-----------------------------
Mechanics and Construction
-----------------------------
=> Mechanics and Construction
Related Topics
Subject
Started by
Replies
Views
Last post
picc18 compiler
Software
paulstreats
2
1850
October 01, 2007, 12:02:28 PM
by
Admin
Compiler problems
Software
wiley89
14
1919
January 09, 2008, 01:28:34 AM
by
Rebelgium
ATmega8 C Compiler
Software
vonlark
2
1860
January 28, 2008, 07:09:19 AM
by
benji
a/d c18 compiler
Software
junior000
6
2601
February 16, 2008, 04:05:50 PM
by
Admin
Advertise on this Forum
Loading...