Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 21
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
One birthday today, congrats!
Colin 99 (53)


Next birthdays
05/14 hvguy (41)
05/14 thehappyelectron (14)
05/14 Justin (2024)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: Computer Science
« Previous topic | Next topic »   

C compliers and IDE...

1 2 
Move Thread LAN_403
Patrick
Sun Feb 17 2013, 11:00PM Print
Patrick Registered Member #2431 Joined: Tue Oct 13 2009, 09:47PM
Location: Chico, CA. USA
Posts: 5639
can anyone make suggestions for low cost or free developer programs for those of us who dont have 9,000 US$ for a license?

im thinking about Dev-C++, unless i get better suggestions...

TY, Patrick.
Back to top
Daedronus
Mon Feb 18 2013, 12:12AM
Daedronus Registered Member #2329 Joined: Tue Sept 01 2009, 08:25AM
Location:
Posts: 370
I would use Visual Studio C++ express.
Back to top
Patrick
Mon Feb 18 2013, 02:43AM
Patrick Registered Member #2431 Joined: Tue Oct 13 2009, 09:47PM
Location: Chico, CA. USA
Posts: 5639
Daedronus wrote ...

I would use Visual Studio C++ express.
ty for the reply, i hope your suggestion does both? C and C++?


i need C more than C++ but i assume many compilers do both? (C++ is worthless or embbeded systems)

Back to top
Carbon_Rod
Mon Feb 18 2013, 06:24AM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
Debian distro:
Link2

ARM compiler:
Link2
Link2

MinGW windows cross compiler:
Link2

CMake can also generate the native MS Studio nmake build scripts on windows.
The MSDN Academic Alliance offers students the full developer studio, OS, and MSDN access licenses. Contact your schools club liaison to request membership for your team.

Or... a few lines like this in a Debian terminal:
sudo apt-get install arduino arduino-core eclipse-platform eclipse-cdt cmake kernel-package libncurses5-dev subversion git libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev build-essential

wink
Back to top
Daedronus
Mon Feb 18 2013, 08:57AM
Daedronus Registered Member #2329 Joined: Tue Sept 01 2009, 08:25AM
Location:
Posts: 370
Patrick wrote ...

Daedronus wrote ...

I would use Visual Studio C++ express.
ty for the reply, i hope your suggestion does both? C and C++?


i need C more than C++ but i assume many compilers do both? (C++ is worthless or embbeded systems)



As far as I know yes, both C and C++
But for embedded systems wouldn't you need a specific compiler for the particular platform?
Back to top
Shrad
Mon Feb 18 2013, 10:22AM
Shrad Registered Member #3215 Joined: Sun Sept 19 2010, 08:42PM
Location:
Posts: 780
eclipse has C and C++ plugins, and there is also code::blocks which is nice

those two are free and open source, others are not necessarily cheap or have the same functionalities
Back to top
Steve Conner
Mon Feb 18 2013, 11:01AM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
I've used Dev-C++ on Windows with some success. But yeah, you really need to learn the difference between a compiler and a cross-compiler. tongue To spell it out: Dev-C++ uses a regular compiler that targets the same machine you are running it on. You mentioned embedded systems, implying that you need a cross-compiler, one that targets a different processor to the one it is running on. Tell us what processor you're planning to use, and we could offer some suggestions.

Most "C" compilers support C++ nowadays. Even the Arduino works with C++.
Back to top
Patrick
Mon Feb 18 2013, 05:06PM
Patrick Registered Member #2431 Joined: Tue Oct 13 2009, 09:47PM
Location: Chico, CA. USA
Posts: 5639
I should have been more specific, i need to write some programs that only take in through the keyboard and print to the screen, for that id like one like the previous suggestions, Dev-C++ and such.

but i have and will use the native STM32 IDE for my real programming (to boards that will fly), for the reasons steve and Daedronous raise.

Back to top
Steve Conner
Tue Feb 19 2013, 01:08PM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
Oh, well that's exactly what I used Dev-Cpp for, making up quick command-line programs to test algorithms and so on. It worked great. smile
Back to top
Daedronus
Tue Feb 19 2013, 03:27PM
Daedronus Registered Member #2329 Joined: Tue Sept 01 2009, 08:25AM
Location:
Posts: 370
So does visual studio c++ express plus the added benefit of a user interface not made in the past century.

I can understand not wanting to pay all the $$$ they ask for the full visual studio and opting for a free tool, but the express edition is also completely free, not cripple ware in any way and arguably has the best user interface out there.

This is probably why Atmel decided to use the visual studio IDE engine for their last AVR studio tools.
Back to top
1 2 

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.