Web lists-archives.org

[Mingw-users] Compile error using mingw




Hi,

Ive just installed MingW on my system using MinGW-5.1.4.exe, and added
c:\mingw32\bin to my path, but when I try to compile a simple C
'helloworld' program, I get the following error:

type helloworld.c
#include <stdio.h>
#include <stdlib.h>

int main(void) {
        puts("!!!Hello World!!!"); /* prints !!!Hello World!!! */
        return 0;
}

gcc helloworld.c -o helloworld
gcc: installation problem, cannot exec `cc1': No such file or directory




Do you have any idea what might be wrong ?



My configuration is as follows :

OS version: Windows Vista Home Premium 32 bbit
gcc version : gcc version 3.4.5 (mingw special)
ld version : GNU ld version 2.17.50 20060824
MinGW version: MinGW-5.1.4



Thanks,


Regards,


John Smith

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users