Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Cdt and dev-c++
Cdt and dev-c++ [message #160260] Sat, 10 December 2005 17:13 Go to next message
Eclipse UserFriend
Originally posted by: moh_bana.hotmail.com

Hello everybody,

Could someone please tell me or direct me an article on how to setup
eclipse cdt with the compiler that comes with dev-c++.

Thanks alot.
Re: Cdt and dev-c++ [message #160324 is a reply to message #160260] Sun, 11 December 2005 21:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kellygp.oceanfree.net

MB wrote:
> Hello everybody,
>
> Could someone please tell me or direct me an article on how to setup
> eclipse cdt with the compiler that comes with dev-c++.
>
> Thanks alot.
>

The Compiler that comes with dev-c++ is called MinGW http://www.mingw.org.

They have a new installer that is very easy to use, it can be got from
http://prdownloads.sf.net/mingw/MinGW-5.0.0.exe?download

1. Install it, select current or candidate, then tick gcc, g++ and make.

2. Add the path to the bin directory, usually C:\MinGW\bin to the "PATH"
environment variable. If you don't know what an environment variable is
look it up.

If you have already have the compiler installed the only task required
is to add the bin path to the "PATH" enviroment variable. Search for
gcc.exe if you don't know where it is.

You should be able to call gcc from a command prompt when done. You may
also need to set eclipse to call "mingw32-make" instead of "make", look
in your project options.

good luck
George
Re: Cdt and dev-c++ [message #160340 is a reply to message #160324] Mon, 12 December 2005 16:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mb.hotmail.com

Thanks alot!!!

But i get the following error message;

gcc: no input files.
Re: Cdt and dev-c++ [message #160589 is a reply to message #160340] Thu, 15 December 2005 18:07 Go to previous message
Eclipse UserFriend
Originally posted by: kellygp.oceanfree.net

If you are talking about when you type gcc into the command prompt that
is the normal reply since you did not pass any parameters into it. For
example "gcc -c test.c" would be a typical command.

But if you are talking about an error that displays in eclipse it could
be a problem. Try google to see if someone else has had the same problem.

g'luck
George

MB wrote:
> Thanks alot!!!
>
> But i get the following error message;
>
> gcc: no input files.
>
Previous Topic:CDT Stack Question
Next Topic:../sysdeps/i386/elf/start.S:115: undefined reference to `main'
Goto Forum:
  


Current Time: Sun May 11 01:12:52 EDT 2025

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

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

Back to the top