This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: g++ (v.3.1.1-4) -mno-cygwin with a hello world sample crashesoddly
On Mon, 2002-07-22 at 02:58, Christopher Faylor wrote:
> On Sun, Jul 21, 2002 at 11:01:02PM +1000, Robert Collins wrote:
> >On Sun, 2002-07-21 at 22:55, Robert Collins wrote:
> >> On Sun, 2002-07-21 at 22:56, Dylan Cuthbert wrote:
> >> > That's very odd behaviour! What else is in your current directory? Is
> >> > there a hiho.exe.exe? :-)
> >>
> >> I see the same quirks on linux. Something strange here.
> >
> >Ah, I was trying to run it on a nonexec partition (long story).
> >
> >Works fine for me(tm).
>
> I'd be interested in how you could see any quirks on linux with the
> -mno-cygwin option. It seems to me that this would produce a program
> that doesn't run at all, unless, maybe, you have wine installed or
> something.
I was just testing the C++ code. No -mno-cygwin at all.
The quirks were having an unrunnable file foo.
Then I realised where I was in the fs, moved it out of there, and voila,
no problem.
However I think one interesting thing has come up - is the cygwin gcc
3.1.x patched to generate foo.exe when passed '-o foo' ?
Rob
--
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/