Install From Scratch -- The tutorial for Eclipse Noobs [message #237429] |
Fri, 12 October 2007 02:19  |
Eclipse User |
|
|
|
Originally posted by: shanknbake.gmail.com
Hi,
I'm an "Eclipse noob" that cannot for the life of him, get a c-program
to compile and run correctly.
I have downloaded and installed the most current JRE.
I have downloaded and installed ECLIPSE for C/C++ V. 3.3.0.
I have NO IDEA how to go about configuring it. I have downloaded and
"installed" minGW and Cygwin (I don't know which to use or how...or what
directory they should be in).
I need a step-by-step guide for putting Eclipse together so I can run a
C program that uses standard C library functions (i.e. Printf() scanf()
malloc() etc...). I basically need to know what to install, where to
install it, and what configurations I need.
Bear in mind I'm running Windows Vista Business.(side note: i tried
reformatting with XP Pro..but I soon realized I"m using an HP....no
driver support....gotta love it, but thats a post for another time).
I GREATLY appreciate any help and sorry if this is a duplicate post of
this type. I was unable to find one like it.
-K
|
|
|
|
Re: Install From Scratch -- The tutorial for Eclipse Noobs [message #237492 is a reply to message #237487] |
Fri, 12 October 2007 14:25  |
Eclipse User |
|
|
|
Having installed both MinGW and Cygwin should make it interesting. The
first thing to do is make sure you can compile something like HelloWorld
from the command line with one or the other. You'll at least need to
add the 'bin' directory of either Cygwin or MinGW to the system PATH
variable. If you put them both in the PATH the first one found will be
the one used. If you can type "gcc -v" from a command prompt and get a
response you're on the right track. Once that works and you can compile
something simple from the command line you're ready to try from eclipse.
The CDT web page and/or newsgroup should be helpful to you in getting
all the pieces configured.
You might also consider looking into the Wascana page on sourceforge
http://wascana.sourceforge.net/ where a reasonably complete package for
CDT for Windows can be downloaded that includes the MinGW tools. It
might be easier to get up and running if you uninstall what you've
started and install the Wascana package.
-
Steve
shanky wrote:
> please help this!!!
>
>
> hanky wrote:
>> Hi,
>>
>> I'm an "Eclipse noob" that cannot for the life of him, get a c-program
>> to compile and run correctly.
>>
>> I have downloaded and installed the most current JRE.
>>
>> I have downloaded and installed ECLIPSE for C/C++ V. 3.3.0.
>>
>> I have NO IDEA how to go about configuring it. I have downloaded and
>> "installed" minGW and Cygwin (I don't know which to use or how...or
>> what directory they should be in).
>>
>> I need a step-by-step guide for putting Eclipse together so I can run
>> a C program that uses standard C library functions (i.e. Printf()
>> scanf() malloc() etc...). I basically need to know what to install,
>> where to install it, and what configurations I need.
>>
>> Bear in mind I'm running Windows Vista Business.(side note: i tried
>> reformatting with XP Pro..but I soon realized I"m using an HP....no
>> driver support....gotta love it, but thats a post for another time).
>>
>> I GREATLY appreciate any help and sorry if this is a duplicate post of
>> this type. I was unable to find one like it.
>>
>> -K
|
|
|
Powered by
FUDForum. Page generated in 0.12894 seconds