This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Trouble with cygwin/gcc
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: Trouble with cygwin/gcc
- From: "Engelen" <engelen at hotpop dot com>
- Date: Wed, 16 Aug 2000 13:16:27 +0200
Hello,
I got the 'latest' .tar.gz's from the ftp.franken.de mirror, and am experiencing some problems.
This compiles fine (with 'gcc test.c -o test'):
---------8<---------
int main()
{
printf ("Hello, world!\n");
return (0);
}
---------8<---------
But not this (with 'gcc buffer.c -o buffer -I/cygdrive/c/progs/cygwin/usr/include/g++-3 2>errorz.txt' (I used bash)):
---------8<---------
#include <iostream.h>
int main()
{ /*
printf ("Hello, world!\n");
return (0);*/ }
---------8<---------
This spit out the errors I attached. Maybe someone can tell me what's wrong? I'm pretty green, maybe the answer is very obvious, but it isn't to me.
Arnout