Mail Archives: djgpp/1998/03/17/02:01:37
Did you realize your program isn't C it is C++? That might make a small
difference. For example, my configuration won't compile C++ unless I
tell it that it is C++ (using g++ or gpp or gxx instead of gcc, you can
also do gcc if you do -lstdcxx at the end of the line).
Hope that helps.
Jason
Jens Lehmann wrote:
>
> Hi!
>
> I would like to learn C and have some trouble with compiling: I wrote
> my first little C-code (you know it all):
>
> What am I doing wrong? I have read the FAQ and found some hints but
> they don't help me (stack size to small, bug in version 2.0). Do I
> need a makefile?
>
> System: Windows95 OSR2 (German), GNU CPP version 2.7.2.1 (80386, BSD
> syntax), GNU Make version 3.76.1
>
> Regards, Jens (C-newbie) ;-)
- Raw text -