Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Cross GCC(Where to get?)
Cross GCC [message #997570] Tue, 08 January 2013 07:14 Go to next message
Eclipse UserFriend
Hello!

I downloaded and installed Eclipse C/C++ IDE. I tried to create a C/C++ project. It asks me to select a Cross GCC Compiler. I haven't installed a Compiler. I want to know where I can get Cross GCC Compiler and is it free?

Thanks
Jayanth D
  • Attachment: compiler.jpg
    (Size: 73.88KB, Downloaded 2529 times)
Re: Cross GCC [message #999417 is a reply to message #997570] Fri, 11 January 2013 21:58 Go to previous messageGo to next message
Eclipse UserFriend
You didn't say what operating system your development computer (the "host") is running or what processor you want to generate code for (the "target").

If your host is running Fedora Linux and you want to compile for the ARM, AVR and Blackfin processors, you can install cross compilers with these commands and similarly for other processors. (Other Linux distros use different installation commands.)
sudo yum install gcc-arm-linux-gnu
sudo yum install gcc-avr32-linux-gnu
sudo yum install gcc-bfin-linux-gun


If your host is running Windows, gnutoolchains.com seems to have some cross compilers for download, though I've never tried those. ronetix.at/software.html and www.modularcircuits.com/blog/projects/development-tools/gcc-for-arm-avr-and-blackfin also seem to have some.

(Sorry I can't make clickable links. That's the forum's weakness.)
Re: Cross GCC [message #1000345 is a reply to message #999417] Mon, 14 January 2013 10:07 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for replying Ken. I am using Windows 7 Ultimate 32-bit OS. I have installed MinGW and Eclipse C/C++ IDE. My C code compiles and runs without problem but my C++ code doesn't show the o/p. I tried a simple C++ Hellow World Project which compiled succesfully but I was not able to see any Hello World message in console of Eclipse IDE. I tried several C++ programs it only compiles but running doesn't show any o/p.
Re: Cross GCC [message #1005616 is a reply to message #997570] Sun, 27 January 2013 09:39 Go to previous message
Eclipse UserFriend
Hi,

C++ programs, compiled with MinGW, need Libs to run:

http://www.eclipse.org/forums/index.php/mv/msg/391795/931956/#msg_931956

regards,
Klaus
Previous Topic:"program "g++" not found in PATH" and "program "gcc" not found in
Next Topic:custom toolchain GCC linker inheritance issue
Goto Forum:
  


Current Time: Sat Apr 05 09:00:58 EDT 2025

Powered by FUDForum. Page generated in 0.03220 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top