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++ (v.3.1.1-4) -mno-cygwin with a hello world sample crashes oddly


Hallo Randall,

Then only the syntax of this command was wrong:

>>$ g++ -mno-cygwin -c hiho.cpp -o hiho

With the correct syntax it looks ok:

$ g++ -mno-cygwin -o hiho.exe hiho.cpp

$ ./hiho.exe
hello world10 20
hello world30 20
hello world50 20
hello world70 20
hello world90 20
hello world110 20
hello world130 20
hello world150 20
hello world170 20
hello world190 20

I just useed copy & paste (without using my brain;).


Gerrit
-- 
"All faults& bugs are mine - Robert"
    from squid/acinclude.m4,   Sun Apr 21 05:21:21 2002


--
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]