c++ and -mno-cygwin

Serguei DACHIAN Serguei.Dachian@univ-lemans.fr
Tue Dec 22 18:38:00 GMT 1998


Hi everybody.
Trying to compiling the simplest c++ program "Hello world"
 > #include <iostream.h>
 >
 > int main ()
 > {
 > cout << "Hello world." << endl;
 > return 0;
 > }
with the flag "-mno-cygwin" (just lile "g++ -mno-cygwin hello.cpp") fails
with lots of undefined references in "libstdc++.a". Apparently it is
impossible to use this flag with g++/c++, but only with gcc. Is it a bug or
an intention??? Is there any workarround [ except rewriting the program in C
:-))) ].

Thanks in advance for any help.
Serguei.
___________________________________________________________________________
Serguei DACHIAN
Laboratoire de Statistique et Processus,
Universite du Maine, Av. Olivier Messiaen
72085 Le Mans CEDEX 9, FRANCE
Tel. : +33 (0)2 43 83 37 18
Fax. : +33 (0)2 43 83 35 79
E-mail : Serguei.Dachian@univ-lemans.fr
WWW : http://www.univ-lemans.fr/sciences/statist/cvs/thesard.html#dachian
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /