public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc version 3.3.1 (cygming special)
@ 2003-09-22  5:39 Alex Vinokur
  2003-09-22  8:11 ` Igor Pechtchanski
  2003-09-22 14:04 ` Christopher Faylor
  0 siblings, 2 replies; 9+ messages in thread
From: Alex Vinokur @ 2003-09-22  5:39 UTC (permalink / raw)
  To: cygwin

$ gcc -v
[snip]
gcc version 3.3.1 (cygming special)    // More preferably 'cygwin', not 'cygming'

   =====================================
   Alex Vinokur
     mailto:alexvn@connect.to
     http://mathforum.org/library/view/10978.html
   =====================================







--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc version 3.3.1 (cygming special)
  2003-09-22  5:39 gcc version 3.3.1 (cygming special) Alex Vinokur
@ 2003-09-22  8:11 ` Igor Pechtchanski
  2003-09-22 11:57   ` Alex Vinokur
  2003-09-22 13:06   ` Alex Vinokur
  2003-09-22 14:04 ` Christopher Faylor
  1 sibling, 2 replies; 9+ messages in thread
From: Igor Pechtchanski @ 2003-09-22  8:11 UTC (permalink / raw)
  To: Alex Vinokur; +Cc: cygwin

On Mon, 22 Sep 2003, Alex Vinokur wrote:

> $ gcc -v
> [snip]
> gcc version 3.3.1 (cygming special)    // More preferably 'cygwin', not 'cygming'

This may actually be correct.  "Cygming" = "Cygwin" + "MinGW".  gcc does
both, you know...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc version 3.3.1 (cygming special)
  2003-09-22  8:11 ` Igor Pechtchanski
@ 2003-09-22 11:57   ` Alex Vinokur
  2003-09-22 12:46     ` Corinna Vinschen
  2003-09-22 13:06   ` Alex Vinokur
  1 sibling, 1 reply; 9+ messages in thread
From: Alex Vinokur @ 2003-09-22 11:57 UTC (permalink / raw)
  To: cygwin


"Igor Pechtchanski" <pechtcha@cs.nyu.edu> wrote in message news:Pine.GSO.4.56.0309220138280.12411@slinky.cs.nyu.edu...
> On Mon, 22 Sep 2003, Alex Vinokur wrote:
>
> > $ gcc -v
> > [snip]
> > gcc version 3.3.1 (cygming special)    // More preferably 'cygwin', not 'cygming'
>
> This may actually be correct.  "Cygming" = "Cygwin" + "MinGW".  gcc does
> both, you know...
> Igor

------ Cygwin ------
$ gcc foo.c -o foo1.exe
$ gcc foo.c  -mno-cygwin -o foo2.exe

------ MinGW ------
$ gcc foo.c -o foo3.exe

1. What is the difference between foo1.exe and foo2.exe?
2. Is there any difference between foo2.exe and foo3.exe?

   =====================================
   Alex Vinokur
     mailto:alexvn@connect.to
     http://mathforum.org/library/view/10978.html
   =====================================





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc version 3.3.1 (cygming special)
  2003-09-22 11:57   ` Alex Vinokur
@ 2003-09-22 12:46     ` Corinna Vinschen
  2003-09-22 12:57       ` Alex Vinokur
  2003-09-22 14:49       ` chris
  0 siblings, 2 replies; 9+ messages in thread
From: Corinna Vinschen @ 2003-09-22 12:46 UTC (permalink / raw)
  To: cygwin

On Mon, Sep 22, 2003 at 02:36:32PM +0300, Alex Vinokur wrote:
> ------ Cygwin ------
> $ gcc foo.c -o foo1.exe
> $ gcc foo.c  -mno-cygwin -o foo2.exe
> 
> ------ MinGW ------
> $ gcc foo.c -o foo3.exe
> 
> 1. What is the difference between foo1.exe and foo2.exe?
> 2. Is there any difference between foo2.exe and foo3.exe?

Call cygcheck foo[123].exe.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc version 3.3.1 (cygming special)
  2003-09-22 12:46     ` Corinna Vinschen
@ 2003-09-22 12:57       ` Alex Vinokur
  2003-09-22 14:49       ` chris
  1 sibling, 0 replies; 9+ messages in thread
From: Alex Vinokur @ 2003-09-22 12:57 UTC (permalink / raw)
  To: cygwin


"Corinna Vinschen" <corinna-cygwin@cygwin.com> wrote in message news:20030922115830.GL9981@cygbert.vinschen.de...
> On Mon, Sep 22, 2003 at 02:36:32PM +0300, Alex Vinokur wrote:
> > ------ Cygwin ------
> > $ gcc foo.c -o foo1.exe
> > $ gcc foo.c  -mno-cygwin -o foo2.exe
> >
> > ------ MinGW ------
> > $ gcc foo.c -o foo3.exe
> >
> > 1. What is the difference between foo1.exe and foo2.exe?
> > 2. Is there any difference between foo2.exe and foo3.exe?
>
> Call cygcheck foo[123].exe.
>

$ cygcheck *.exe
Found: .\foo1.exe
foo1.exe
  C:\cygwin\bin\cygwin1.dll
    C:\WINNT\System32\KERNEL32.dll
      C:\WINNT\System32\NTDLL.DLL

Found: .\foo2.exe
foo2.exe
  C:\WINNT\System32\msvcrt.dll
    C:\WINNT\System32\KERNEL32.dll
      C:\WINNT\System32\NTDLL.DLL

Found: .\foo3.exe
foo3.exe
  C:\WINNT\System32\KERNEL32.dll
    C:\WINNT\System32\NTDLL.DLL
  C:\WINNT\System32\msvcrt.dll

foo2.exe and foo3.exe contain the same dll's, however its _hierarchy_ of is different.
Is it essential?


   =====================================
   Alex Vinokur
     mailto:alexvn@connect.to
     http://mathforum.org/library/view/10978.html
   =====================================





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc version 3.3.1 (cygming special)
  2003-09-22  8:11 ` Igor Pechtchanski
  2003-09-22 11:57   ` Alex Vinokur
@ 2003-09-22 13:06   ` Alex Vinokur
  1 sibling, 0 replies; 9+ messages in thread
From: Alex Vinokur @ 2003-09-22 13:06 UTC (permalink / raw)
  To: cygwin


"Igor Pechtchanski" <pechtcha@cs.nyu.edu> wrote in message news:Pine.GSO.4.56.0309220138280.12411@slinky.cs.nyu.edu...
> On Mon, 22 Sep 2003, Alex Vinokur wrote:
>
> > $ gcc -v
> > [snip]
> > gcc version 3.3.1 (cygming special)    // More preferably 'cygwin', not 'cygming'
>
> This may actually be correct.  "Cygming" = "Cygwin" + "MinGW".  gcc does
> both, you know...
> Igor

When it is worth creating MinGW executable file, not Cygwin one?
What might cause not to create Cygwin executable file (while we are working in Cygwin)?
Building executable file for other machine which doesn't contain cygwin1.dll?

Are cygwin1.dll and msvcrt.dll essentially different?

   =====================================
   Alex Vinokur
     mailto:alexvn@connect.to
     http://mathforum.org/library/view/10978.html
   =====================================




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc version 3.3.1 (cygming special)
  2003-09-22  5:39 gcc version 3.3.1 (cygming special) Alex Vinokur
  2003-09-22  8:11 ` Igor Pechtchanski
@ 2003-09-22 14:04 ` Christopher Faylor
  1 sibling, 0 replies; 9+ messages in thread
From: Christopher Faylor @ 2003-09-22 14:04 UTC (permalink / raw)
  To: cygwin

On Mon, Sep 22, 2003 at 08:02:09AM +0300, Alex Vinokur wrote:
>$ gcc -v
>[snip]
>gcc version 3.3.1 (cygming special)    // More preferably 'cygwin', not 'cygming'

So, what are you saying?  You want me to change the distribution because
you don't like the 'cygming'?

If so:  "not gonna happen".

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc version 3.3.1 (cygming special)
  2003-09-22 12:46     ` Corinna Vinschen
  2003-09-22 12:57       ` Alex Vinokur
@ 2003-09-22 14:49       ` chris
  2003-09-22 19:07         ` Alex Vinokur
  1 sibling, 1 reply; 9+ messages in thread
From: chris @ 2003-09-22 14:49 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen wrote:

>On Mon, Sep 22, 2003 at 02:36:32PM +0300, Alex Vinokur wrote:
>  
>
>>------ Cygwin ------
>>$ gcc foo.c -o foo1.exe
>>$ gcc foo.c  -mno-cygwin -o foo2.exe
>>
>>------ MinGW ------
>>$ gcc foo.c -o foo3.exe
>>
>>1. What is the difference between foo1.exe and foo2.exe?
>>2. Is there any difference between foo2.exe and foo3.exe?
>>    
>>
>
>Call cygcheck foo[123].exe.
>  
>
Just to add to this. For whatever reasons, I have found mingw 
executables to be slightly, but measurably faster (this was done some 
time ago). Also openGL applications seem to run much smoother under 
mingw than cygwin (could just be me / my very messed up computer tho)

Although of course if you use mingw, you lose all of cygwin's emulatory 
features


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: gcc version 3.3.1 (cygming special)
  2003-09-22 14:49       ` chris
@ 2003-09-22 19:07         ` Alex Vinokur
  0 siblings, 0 replies; 9+ messages in thread
From: Alex Vinokur @ 2003-09-22 19:07 UTC (permalink / raw)
  To: cygwin


"chris" <caj@cs.york.ac.uk> wrote in message news:3F6F09C5.2030505@cs.york.ac.uk...
> Corinna Vinschen wrote:
>
> >On Mon, Sep 22, 2003 at 02:36:32PM +0300, Alex Vinokur wrote:
> >
> >
> >>------ Cygwin ------
> >>$ gcc foo.c -o foo1.exe
> >>$ gcc foo.c  -mno-cygwin -o foo2.exe
> >>
> >>------ MinGW ------
> >>$ gcc foo.c -o foo3.exe
> >>
> >>1. What is the difference between foo1.exe and foo2.exe?
> >>2. Is there any difference between foo2.exe and foo3.exe?
> >>
> >>
> >
> >Call cygcheck foo[123].exe.
> >
> >
> Just to add to this. For whatever reasons, I have found mingw
> executables to be slightly, but measurably faster (this was done some
> time ago).

Not always.

Comparative performance tests were carried out
  using the same compiler (gcc/g++/gpp 3.2)
  in different environments (CYGWIN, MINGW, DJGPP)
  on Windows 2000 Professional.


Different methods of copying files were tested :

  ------ C methods ------
  Method C-1   : Functions getc() and putc()
  Method C-2   : Functions fgetc() and fputc()

  ------ C++ methods ------
  Method CPP-1 : Operators >> and <<
  Method CPP-2 : Methods get() and put()
  Method CPP-3 : Methods sbumpc() and sputc()
  Method CPP-4 : Method sbumpc() and operator <<
  Method CPP-5 : Method rdbuf() and operator <<


The results for CYGWIN and DJGPP are consistent, in particular:
  C-methods C-1 and C-2 are faster than C++-methods CPP-1, CPP-2, CPP-3.

Whereas it seems that C-methods C-1 and C-2 on MINGW are too slow, e.g.,
  C-methods C-1 and C-2 are slower than C++-methods CPP-2, CPP-3.

  The summary results are can be seen at
http://groups.google.com/groups?selm=bifvr9%248qbgl%241%40ID-79865.news.uni-berlin.de

[snip]

   =====================================
   Alex Vinokur
     mailto:alexvn@connect.to
     http://mathforum.org/library/view/10978.html
   =====================================




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-09-22 18:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-22  5:39 gcc version 3.3.1 (cygming special) Alex Vinokur
2003-09-22  8:11 ` Igor Pechtchanski
2003-09-22 11:57   ` Alex Vinokur
2003-09-22 12:46     ` Corinna Vinschen
2003-09-22 12:57       ` Alex Vinokur
2003-09-22 14:49       ` chris
2003-09-22 19:07         ` Alex Vinokur
2003-09-22 13:06   ` Alex Vinokur
2003-09-22 14:04 ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).