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]

help with -mno-cygwin


when I run:
>$ g++ shell.cpp

it makes an a.exe no problem and runs fine.

However, I would like to create an executable under
mingw but I am getting some errors.

Running:
>$ g++ -mno-cygwin chell.cpp

Gives me:

In file included from
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../include/g++-3/streambuf.h:36,
                 from
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../include/g++-3/iostream.h:31,
                 from shell.h:13,
                 from shell.cpp:11:
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../include/g++-3/libio.h:30:
_G_config.h: No such file or directory
In file included from shell.cpp:15:
exe.h:16: sys/wait.h: No such file or directory

Any thoughts, ideas, suggestions on how to get the
includes looking at the correct paths ?

thanks
 

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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