How to start C project under Vista with Eclipse? [message #200445] |
Tue, 28 August 2007 08:49  |
Eclipse User |
|
|
|
Hi all
I am a new guy tring to start C programming with Eclipse.I have Eclipse3.3.0
for Windows, cdt-master-4.0.0, and also I have installed MimGW-5.1.3 under
C:\MinGW, and added system path "C:\MinGW\bin". When I was building a sample
c project, it resulted:
**** Build of configuration Debug for project helloWorld ****
**** Internal Builder is used for build ****
gcc -O2 -g -Wall -c -fmessage-length=0 -ohello.o ..\hello.c
gcc: installation problem, cannot exec `cc1': No such file or directory
Build error occurred, build is stopped
Time consumed: 282 ms.
Anyboday could help to fix this? Thanks in advance. The OS is Vista home
basic
Dominic
|
|
|
Re: How to start C project under Vista with Eclipse? [message #200493 is a reply to message #200445] |
Tue, 28 August 2007 09:06   |
Eclipse User |
|
|
|
exquisitus wrote:
> Hi all
> I am a new guy tring to start C programming with Eclipse.I have
> Eclipse3.3.0 for Windows, cdt-master-4.0.0, and also I have installed
> MimGW-5.1.3 under C:\MinGW, and added system path "C:\MinGW\bin". When I
> was building a sample c project, it resulted:
> **** Build of configuration Debug for project helloWorld ****
>
> **** Internal Builder is used for build ****
> gcc -O2 -g -Wall -c -fmessage-length=0 -ohello.o ..\hello.c
> gcc: installation problem, cannot exec `cc1': No such file or directory
> Build error occurred, build is stopped
> Time consumed: 282 ms.
>
> Anyboday could help to fix this? Thanks in advance. The OS is Vista home
> basic
> Dominic
I'm not overly familiar with MinGW, but it looks like an installation
problem. Either your MinGW install went bad, or you are missing packages.
===========================
Chris Recoskie
Team Lead, IBM CDT Team
IBM Toronto
http://www.eclipse.org/cdt
|
|
|
Re: How to start C project under Vista with Eclipse? [message #200511 is a reply to message #200493] |
Tue, 28 August 2007 09:29   |
Eclipse User |
|
|
|
Hi Chris
I am not sure whether I have correct installation of MinGW.I have tried many
ways of different configuration, and the logs are the recent result. Is
there any default c or c++ compiler embeded in Eclipse for windows? Eclipse
is much more open, but I should add CDT,MinGW,etc, that brings confusion.
And when I search on the Internet for "gcc: installation problem, cannot
exec `cc1': No such file or directory", some people say that this issure has
something to do with Vista. I do not know. And if I want to start the first
c++/c project with eclipse, what configuration should I make? I donot think
the Eclipse.org web page and the eclipse help in the IDE present clearly.
Thanks and wait on line.
"Chris Recoskie" <recoskie@ca.ibm.com> 写入消息
news:fb16m8$992$5@build.eclipse.org...
> exquisitus wrote:
>> Hi all
>> I am a new guy tring to start C programming with Eclipse.I have
>> Eclipse3.3.0 for Windows, cdt-master-4.0.0, and also I have installed
>> MimGW-5.1.3 under C:\MinGW, and added system path "C:\MinGW\bin". When I
>> was building a sample c project, it resulted:
>> **** Build of configuration Debug for project helloWorld ****
>>
>> **** Internal Builder is used for build ****
>> gcc -O2 -g -Wall -c -fmessage-length=0 -ohello.o ..\hello.c
>> gcc: installation problem, cannot exec `cc1': No such file or directory
>> Build error occurred, build is stopped
>> Time consumed: 282 ms.
>>
>> Anyboday could help to fix this? Thanks in advance. The OS is Vista home
>> basic
>> Dominic
>
> I'm not overly familiar with MinGW, but it looks like an installation
> problem. Either your MinGW install went bad, or you are missing packages.
>
> ===========================
>
> Chris Recoskie
> Team Lead, IBM CDT Team
> IBM Toronto
> http://www.eclipse.org/cdt
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03017 seconds