This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Trouble with cygwin/gcc


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]