cygnus
Martin Kahlert
martin.kahlert@keksy.mchp.siemens.de
Wed Nov 3 23:39:00 GMT 1999
In article < 3820F182.B96D7175@bcpl.net >,
Inferno <esheesle@bcpl.net> writes:
> I have followed your instructions on how to get mingw libraries and compile c++
> apps. I tried to compile and i am still getting errors. My program is:
> #include <iostream.h>
> void main()
> {
> cout << "Test" << endl;
> }
>
> and the command lines and errors i am getting are as follows:
> # gcc -c -mno-cygwin -I/usr/local/mingw/include test.cpp
gcc is the C-compiler. Your source is C++, so use g++ (or if it
should be called differently in windows try gxx)
This compiler knows, which libs to include.
Hope, that helps,
Martin.
--
The early bird gets the worm. If you want something else for
breakfast, get up later.
More information about the Gcc-help
mailing list