I'v installed the latest stable version of MinGW.
This is not my first time installing MinGW on a Vista Platform. All runs
normally until this time.
What I Meet:
I just using "gcc" command compile a Hello to test.
code:
/* This is a Hello Program testing gcc */
#include <iostream>
int main()
{
printf("Hello,world!\n");
return 0;
}
I save it as Hello.cpp on desktop and then use cmd.exe of Vista like this:
C:\Users\$MyUsrNameofVista$\Desktop>gcc Hello.c
Below is what it report to me:
Hello.c:1:17: no include path in which to search for stdio
Then I give the directive with the whole pathname of gcc like this:
C:\Users\$MyUsrNameofVista$\Desktop>D:\craft\MinGW\bin\gcc hello.c
Then:
hello.c:1:17: stdio: No such file or directory
I then change the directory both Mingw and the source file as many as
possible combinations with no miracle occured.
But,When I use Eclipse+CDT,something different came out:
Normally,if mingw gcc can work well,you needn't set any enviorment variable
in Eclipse settings,but this time,I just try to set the envirorment
variable in Eclipse settings,it works! Though the gcc still can't work well
under cli model.
This Problem came not too early,at least I can run mingw well on vista for
nearly 3 month.All problem came out after I reinstalled my vista. I hope
who can give me some help to sovle the damned problem.
Danny Smith
None
Waiting user response
Public
|
Date: 2007-05-03 11:30
|
|
Date: 2007-05-02 05:29
|
|
Date: 2007-05-02 05:22
|
|
Date: 2007-05-02 05:19
|
|
Date: 2007-04-30 20:09
|
|
Date: 2007-04-30 18:51
|
|
Date: 2007-04-30 12:07
|
|
Date: 2007-04-30 12:01
|
|
Date: 2007-04-29 17:13
|
|
Date: 2007-04-29 16:59
|
|
Date: 2007-04-28 22:16
|
|
Date: 2007-04-28 22:11
|
|
Date: 2007-04-28 22:08
|
|
Date: 2007-04-28 20:26
|
|
Date: 2007-04-28 15:20
|
|
Date: 2007-04-28 14:53
|
|
Date: 2007-04-28 14:33
|
|
Date: 2007-04-28 12:26
|
|
Date: 2007-04-28 10:52
|
|
Date: 2007-04-28 09:26
|
|
Date: 2007-04-28 07:03
|
|
Date: 2007-04-27 13:11
|
|
Date: 2007-04-27 12:17
|
|
Date: 2007-04-27 11:57
|
|
Date: 2007-04-27 05:00
|
|
Date: 2007-04-27 04:50
|
| Filename | Description | Download |
|---|---|---|
| hello.c | Update Hello.c | Download |
| xg++.exe.gz | Patch G++ driver | Download |
| xgcc.exe.gz | Patched GCC driver | Download |
| login.png | I'm Login | Download |
| attach.jpg | But I Cant download | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 227446: attach.jpg | 2007-05-02 05:22 | sunseraphic |
| File Added | 227445: login.png | 2007-05-02 05:19 | sunseraphic |
| File Deleted | 227050: | 2007-04-29 18:28 | dannysmith |
| close_date | 2007-04-28 20:26 | 2007-04-29 16:59 | sunseraphic |
| status_id | Pending | 2007-04-29 16:59 | sunseraphic |
| File Added | 227051: xgcc.exe.gz | 2007-04-28 22:16 | dannysmith |
| File Added | 227050: xgcc.exe.gz | 2007-04-28 22:11 | dannysmith |
| File Added | 227049: xg++.exe.gz | 2007-04-28 22:08 | dannysmith |
| close_date | - | 2007-04-28 20:26 | earnie |
| status_id | Open | 2007-04-28 20:26 | earnie |
| status_id | Pending | 2007-04-28 15:20 | sunseraphic |
| close_date | 2007-04-28 14:53 | 2007-04-28 15:20 | sunseraphic |
| status_id | Open | 2007-04-28 14:53 | earnie |
| close_date | - | 2007-04-28 14:53 | earnie |
| assigned_to | nobody | 2007-04-28 09:26 | dannysmith |
| close_date | 2007-04-27 13:11 | 2007-04-28 07:03 | sunseraphic |
| status_id | Pending | 2007-04-28 07:03 | sunseraphic |
| close_date | - | 2007-04-27 13:11 | earnie |
| artifact_group_id | None | 2007-04-27 13:11 | earnie |
| status_id | Open | 2007-04-27 13:11 | earnie |
| File Added | 226862: hello.c | 2007-04-27 12:17 | sunseraphic |
| status_id | Pending | 2007-04-27 12:11 | sunseraphic |
| File Deleted | 226779: | 2007-04-27 12:11 | sunseraphic |
| close_date | 2007-04-27 11:57 | 2007-04-27 12:11 | sunseraphic |
| category_id | gcc | 2007-04-27 11:57 | earnie |
| close_date | - | 2007-04-27 11:57 | earnie |
| assigned_to | dannysmith | 2007-04-27 11:57 | earnie |
| artifact_group_id | Vista Issue | 2007-04-27 11:57 | earnie |
| status_id | Open | 2007-04-27 11:57 | earnie |
| data_type | 202435 | 2007-04-27 11:57 | earnie |
| File Added | 226779: Hello.c | 2007-04-26 20:47 | sunseraphic |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use