This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: g++ -mno-cygwin header problems, new.h ?


At 12:17 AM 8/19/2002, Michiel Jan Laurens de Hoon wrote:
>I am trying to use #include <vector> with g++ -mno-cygwin. My test program is
>
>$ cat test.c
>#include <vector>
>
>int main()
>{ return 0;
>}
>
>which compiles fine with g++ without -mno-cygwin.
>To try the same with -mno-cygwin, I copied the c++ include files from c:\cygwin\usr\include\g++-3 to c:\cygwin\usr\include\mingw\g++-3 (as described in http://www.colomsat.net.co/freehost/ngiraldo/cppcygwin.html), and try to compile again with -mno-cygwin. Now I get lots of errors:


Just a point of procedure but I'm curious as to why you would consult this 
list with a problem generated from the advice given by someone else on their
web site.  Did you ask the author of the advice for guidance?  That would 
be my recommendation in general in these situations.

However, I suggest you update your installation.  Chris has put allot of
work into the 3.x version.  You should see better results out-of-the-box.





Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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