public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Default compiler behaviour for b19
@ 1997-09-04 21:18 Anthony Wesley
  1997-09-09  3:50 ` Geoffrey Noer
  1997-09-09 23:33 ` Andrey A. Kulaga
  0 siblings, 2 replies; 10+ messages in thread
From: Anthony Wesley @ 1997-09-04 21:18 UTC (permalink / raw)
  To: gnu-win32

Perhaps I am misreading the comments on the gnuwin32 home page, but it
looks like Cygnus are proposing to have "gcc -o foo foo.c" generate
native win32 binaries by default and not link with cygwin.dll. To
compile UNIX-ish tools and link with the cygwin.dll library you will
have to supply an extra command line option.

This seems silly to me, and the wrong way around. After all, gcc and all
the nice tools and development environment came from the UNIX land, so
surely generating UNIX-ish binaries should be the default, making
porting UNIX applications and tools the native mode, whereas generating
pure win32 binaries should be the "foreign" mode.

It would be really strange to have "gcc -o foo foo.c" not work as
expected by people coming from the UNIX world. I realise that this
behavious could be covered up (eg have an environment variable to select
the mode, or put it in the gcc compiler-options file) but I believe that
it would still be the wrong attitude by Cygnus to do this.

Just my AUS $0.0215 worth .. :-)

Anthony
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: Default compiler behaviour for b19
  1997-09-04 21:18 Default compiler behaviour for b19 Anthony Wesley
@ 1997-09-09  3:50 ` Geoffrey Noer
  1997-09-09 23:33   ` Fergus Henderson
  1997-09-09 23:33 ` Andrey A. Kulaga
  1 sibling, 1 reply; 10+ messages in thread
From: Geoffrey Noer @ 1997-09-09  3:50 UTC (permalink / raw)
  To: awesley; +Cc: gnu-win32

Anthony Wesley wrote:
> 
> Perhaps I am misreading the comments on the gnuwin32 home page, but it
> looks like Cygnus are proposing to have "gcc -o foo foo.c" generate
> native win32 binaries by default and not link with cygwin.dll. To
> compile UNIX-ish tools and link with the cygwin.dll library you will
> have to supply an extra command line option.

Yes, and this may still happen at some point down the road.  Beta 19 will
still default to linking in Cygwin.dll.

> This seems silly to me, and the wrong way around. After all, gcc and all
> the nice tools and development environment came from the UNIX land, so
> surely generating UNIX-ish binaries should be the default, making
> porting UNIX applications and tools the native mode, whereas generating
> pure win32 binaries should be the "foreign" mode.

Perhaps, it depends on whether the goal is a Unix compiler running under
Win32 or a Win32 compiler running under Win32 with a Unix compatibility
option...

> It would be really strange to have "gcc -o foo foo.c" not work as
> expected by people coming from the UNIX world.

The auto-append of .exe by gcc is something that has been argued to death
on gcc mailing lists.  I have mixed feelings about it.

-- 
Geoffrey Noer
noer@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: Default compiler behaviour for b19
  1997-09-09  3:50 ` Geoffrey Noer
@ 1997-09-09 23:33   ` Fergus Henderson
  1997-09-11  9:20     ` Christian Soeller
  0 siblings, 1 reply; 10+ messages in thread
From: Fergus Henderson @ 1997-09-09 23:33 UTC (permalink / raw)
  To: gnu-win32

Geoffrey Noer <noer@cygnus.com> writes:

>Anthony Wesley wrote:
>> 
>> Perhaps I am misreading the comments on the gnuwin32 home page, but it
>> looks like Cygnus are proposing to have "gcc -o foo foo.c" generate
>> native win32 binaries by default and not link with cygwin.dll. To
>> compile UNIX-ish tools and link with the cygwin.dll library you will
>> have to supply an extra command line option.
>
>Yes, and this may still happen at some point down the road.

I have to agree with Anthony Wesley that this would be a Bad Idea.

>Perhaps, it depends on whether the goal is a Unix compiler running under
>Win32 or a Win32 compiler running under Win32 with a Unix compatibility
>option...

... or both.
Having `gcc' behave in this way makes sense only if the first
goal is totally abandoned.  But I don't see why we can't have both.
The second goal is not particularly important to me, but if you want
it, then surely the sensible thing would be to have two different commands
(even if one is just a shell script that invokes the other with
an certain option set).  `gcc' should be the unix compatible version.
Some other name should be chosen for the Win32 compiler.

--
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: < http://www.cs.mu.oz.au/~fjh >   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: Default compiler behaviour for b19
  1997-09-04 21:18 Default compiler behaviour for b19 Anthony Wesley
  1997-09-09  3:50 ` Geoffrey Noer
@ 1997-09-09 23:33 ` Andrey A. Kulaga
  1997-09-11 10:10   ` AECEULA, QUEST Team
  1 sibling, 1 reply; 10+ messages in thread
From: Andrey A. Kulaga @ 1997-09-09 23:33 UTC (permalink / raw)
  To: awesley; +Cc: gnu-win32

It's very important to me to have possibility produce native win32 binaries.
It doesn't matter, whether this option will be default. I like GNU tools, but i
want my code be portable between compilers. That's why l'm using Minimalist
package by Colin Peters (thanks for them).

--------------------
> Date: Fri, 05 Sep 1997 11:23:31 +1000
> From: Anthony Wesley <awesley@acquerra.com.au>
> Reply-To: awesley@mail.acquerra.com.au
> 
> Perhaps I am misreading the comments on the gnuwin32 home page, but it
> looks like Cygnus are proposing to have "gcc -o foo foo.c" generate
> native win32 binaries by default and not link with cygwin.dll. To
> compile UNIX-ish tools and link with the cygwin.dll library you will
> have to supply an extra command line option.
> 
> This seems silly to me, and the wrong way around. After all, gcc and all
> the nice tools and development environment came from the UNIX land, so
> surely generating UNIX-ish binaries should be the default, making
> porting UNIX applications and tools the native mode, whereas generating
> pure win32 binaries should be the "foreign" mode.
> 
> It would be really strange to have "gcc -o foo foo.c" not work as
> expected by people coming from the UNIX world. I realise that this
> behavious could be covered up (eg have an environment variable to select
> the mode, or put it in the gcc compiler-options file) but I believe that
> it would still be the wrong attitude by Cygnus to do this.
> 
> Just my AUS $0.0215 worth .. :-)
> 
> Anthony
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: Default compiler behaviour for b19
  1997-09-09 23:33   ` Fergus Henderson
@ 1997-09-11  9:20     ` Christian Soeller
  0 siblings, 0 replies; 10+ messages in thread
From: Christian Soeller @ 1997-09-11  9:20 UTC (permalink / raw)
  To: gnu-win32

Fergus Henderson <fjh@cs.mu.OZ.AU> writes:

> Having `gcc' behave in this way makes sense only if the first
> goal is totally abandoned.  But I don't see why we can't have both.
> The second goal is not particularly important to me, but if you want
> it, then surely the sensible thing would be to have two different commands
> (even if one is just a shell script that invokes the other with
> an certain option set).  `gcc' should be the unix compatible version.
> Some other name should be chosen for the Win32 compiler.
> 

How about using an environment variable for this? If the variable is
not defined everything behaves as is. E.g., GCCUSECYGWIN=YES means
link by default and GCCUSECYGWIN=NO gives the opposite. So everybody
can decide what his/her default mode is and command line switches can
be used to override. Sounds to me like everybody should be happy ;)

  Christian
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: Default compiler behaviour for b19
  1997-09-09 23:33 ` Andrey A. Kulaga
@ 1997-09-11 10:10   ` AECEULA, QUEST Team
  1997-09-12  9:32     ` Earnie Boyd
  1997-09-12 12:07     ` M. Halpin
  0 siblings, 2 replies; 10+ messages in thread
From: AECEULA, QUEST Team @ 1997-09-11 10:10 UTC (permalink / raw)
  To: Andrey A. Kulaga; +Cc: gnu-win32

The idea of generating native win32 binaries by default (i think) is a
great advance, because you can make your programs to be independient.
It's true that GCC comes from Unix, but if you can make native win32
binaries with it, it's a very powerful tool. And i want to have it !

Andrey A. Kulaga wrote:
> 
> It's very important to me to have possibility produce native win32 binaries.
> It doesn't matter, whether this option will be default. I like GNU tools, but i
> want my code be portable between compilers. That's why l'm using Minimalist
> package by Colin Peters (thanks for them).
> 
> --------------------
> > Date: Fri, 05 Sep 1997 11:23:31 +1000
> > From: Anthony Wesley <awesley@acquerra.com.au>
> > Reply-To: awesley@mail.acquerra.com.au
> >
> > Perhaps I am misreading the comments on the gnuwin32 home page, but it
> > looks like Cygnus are proposing to have "gcc -o foo foo.c" generate
> > native win32 binaries by default and not link with cygwin.dll. To
> > compile UNIX-ish tools and link with the cygwin.dll library you will
> > have to supply an extra command line option.
> >
> > This seems silly to me, and the wrong way around. After all, gcc and all
> > the nice tools and development environment came from the UNIX land, so
> > surely generating UNIX-ish binaries should be the default, making
> > porting UNIX applications and tools the native mode, whereas generating
> > pure win32 binaries should be the "foreign" mode.
> >
> > It would be really strange to have "gcc -o foo foo.c" not work as
> > expected by people coming from the UNIX world. I realise that this
> > behavious could be covered up (eg have an environment variable to select
> > the mode, or put it in the gcc compiler-options file) but I believe that
> > it would still be the wrong attitude by Cygnus to do this.
> >
> > Just my AUS $0.0215 worth .. :-)
> >
> > Anthony
> > -
> > For help on using this list (especially unsubscribing), send a message to
> > "gnu-win32-request@cygnus.com" with one line of text: "help".
> 
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: Default compiler behaviour for b19
  1997-09-11 10:10   ` AECEULA, QUEST Team
@ 1997-09-12  9:32     ` Earnie Boyd
  1997-09-12 12:07     ` M. Halpin
  1 sibling, 0 replies; 10+ messages in thread
From: Earnie Boyd @ 1997-09-12  9:32 UTC (permalink / raw)
  To: AECEULA, QUEST Team; +Cc: Andrey A. Kulaga, gnu-win32

I started looking at gnu-win32 because it was Unix compatible.  Leave the
default the way it is but allow for an environment variable to change the
default behaviour.  That way you can have the best of both worlds.

On Thu, 11 Sep 1997, AECEULA, QUEST Team wrote:

> The idea of generating native win32 binaries by default (i think) is a
> great advance, because you can make your programs to be independient.
> It's true that GCC comes from Unix, but if you can make native win32
> binaries with it, it's a very powerful tool. And i want to have it !
> 
> Andrey A. Kulaga wrote:
> > 
> > It's very important to me to have possibility produce native win32 binaries.
> > It doesn't matter, whether this option will be default. I like GNU tools, but i
> > want my code be portable between compilers. That's why l'm using Minimalist
> > package by Colin Peters (thanks for them).
> > 
> > --------------------
> > > Date: Fri, 05 Sep 1997 11:23:31 +1000
> > > From: Anthony Wesley <awesley@acquerra.com.au>
> > > Reply-To: awesley@mail.acquerra.com.au
> > >
> > > Perhaps I am misreading the comments on the gnuwin32 home page, but it
> > > looks like Cygnus are proposing to have "gcc -o foo foo.c" generate
> > > native win32 binaries by default and not link with cygwin.dll. To
> > > compile UNIX-ish tools and link with the cygwin.dll library you will
> > > have to supply an extra command line option.
> > >
> > > This seems silly to me, and the wrong way around. After all, gcc and all
> > > the nice tools and development environment came from the UNIX land, so
> > > surely generating UNIX-ish binaries should be the default, making
> > > porting UNIX applications and tools the native mode, whereas generating
> > > pure win32 binaries should be the "foreign" mode.
> > >
> > > It would be really strange to have "gcc -o foo foo.c" not work as
> > > expected by people coming from the UNIX world. I realise that this
> > > behavious could be covered up (eg have an environment variable to select
> > > the mode, or put it in the gcc compiler-options file) but I believe that
> > > it would still be the wrong attitude by Cygnus to do this.
> > >
> > > Just my AUS $0.0215 worth .. :-)
> > >
> > > Anthony
> > > -
> > > For help on using this list (especially unsubscribing), send a message to
> > > "gnu-win32-request@cygnus.com" with one line of text: "help".
> > 
> > -
> > For help on using this list (especially unsubscribing), send a message to
> > "gnu-win32-request@cygnus.com" with one line of text: "help".
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".



 \|-----------|/    eaboyd@freenet.columbus.oh.us
--|Earnie Boyd|--       ** text only please **
 /|-----------|\


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: Default compiler behaviour for b19
  1997-09-11 10:10   ` AECEULA, QUEST Team
  1997-09-12  9:32     ` Earnie Boyd
@ 1997-09-12 12:07     ` M. Halpin
  1997-09-12 20:49       ` Where is b19 Daniyal Syed
  1 sibling, 1 reply; 10+ messages in thread
From: M. Halpin @ 1997-09-12 12:07 UTC (permalink / raw)
  To: AECEULA, QUEST Team; +Cc: Andrey A. Kulaga, gnu-win32

	I think that the default should be to link to cygwin.dll, however
an option should be available for creating independent binaries (I.E. you
can make independent binaries, it's just not default).
	Writing the compatibility level would almost be impossible if
programs did not default to cygwin.dll, plus updates would require you to
recompile everything. And that would be a pain in the ...

	- SJ

On Thu, 11 Sep 1997, AECEULA, QUEST Team wrote:

> The idea of generating native win32 binaries by default (i think) is a
> great advance, because you can make your programs to be independient.
> It's true that GCC comes from Unix, but if you can make native win32
> binaries with it, it's a very powerful tool. And i want to have it !
> 
> Andrey A. Kulaga wrote:
> > 
> > It's very important to me to have possibility produce native win32 binaries.
> > It doesn't matter, whether this option will be default. I like GNU tools, but i
> > want my code be portable between compilers. That's why l'm using Minimalist
> > package by Colin Peters (thanks for them).
> > 
> > --------------------
> > > Date: Fri, 05 Sep 1997 11:23:31 +1000
> > > From: Anthony Wesley <awesley@acquerra.com.au>
> > > Reply-To: awesley@mail.acquerra.com.au
> > >
> > > Perhaps I am misreading the comments on the gnuwin32 home page, but it
> > > looks like Cygnus are proposing to have "gcc -o foo foo.c" generate
> > > native win32 binaries by default and not link with cygwin.dll. To
> > > compile UNIX-ish tools and link with the cygwin.dll library you will
> > > have to supply an extra command line option.
> > >
> > > This seems silly to me, and the wrong way around. After all, gcc and all
> > > the nice tools and development environment came from the UNIX land, so
> > > surely generating UNIX-ish binaries should be the default, making
> > > porting UNIX applications and tools the native mode, whereas generating
> > > pure win32 binaries should be the "foreign" mode.
> > >
> > > It would be really strange to have "gcc -o foo foo.c" not work as
> > > expected by people coming from the UNIX world. I realise that this
> > > behavious could be covered up (eg have an environment variable to select
> > > the mode, or put it in the gcc compiler-options file) but I believe that
> > > it would still be the wrong attitude by Cygnus to do this.
> > >
> > > Just my AUS $0.0215 worth .. :-)
> > >
> > > Anthony
> > > -
> > > For help on using this list (especially unsubscribing), send a message to
> > > "gnu-win32-request@cygnus.com" with one line of text: "help".
> > 
> > -
> > For help on using this list (especially unsubscribing), send a message to
> > "gnu-win32-request@cygnus.com" with one line of text: "help".
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
> 

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Where is b19
  1997-09-12 12:07     ` M. Halpin
@ 1997-09-12 20:49       ` Daniyal Syed
  1997-09-13 11:51         ` Michael Hirmke
  0 siblings, 1 reply; 10+ messages in thread
From: Daniyal Syed @ 1997-09-12 20:49 UTC (permalink / raw)
  To: gnu-win32

hello every one!!

sorry to be a little ignorant but I have not been
able to locate the b19 of the cygnus gnu release...
can any one tell me where i can download it from..

i checked the regular cygnus site for "latest"
but got the b18 release

thanks



Daniyal Syed.
dsyed1@umbc.edu

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: Where is b19
  1997-09-12 20:49       ` Where is b19 Daniyal Syed
@ 1997-09-13 11:51         ` Michael Hirmke
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Hirmke @ 1997-09-13 11:51 UTC (permalink / raw)
  To: gnu-win32

Hi Daniyal,

> 
> hello every one!!
> 
> sorry to be a little ignorant but I have not been
> able to locate the b19 of the cygnus gnu release...
> can any one tell me where i can download it from..
> 
> i checked the regular cygnus site for "latest"
> but got the b18 release

b19 hasn't been released yet - b18 is the most actual one.

> 
> thanks
> 
> 
> 
> Daniyal Syed.

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mh@mike.franken.de
                         | WWW     http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

end of thread, other threads:[~1997-09-13 11:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-04 21:18 Default compiler behaviour for b19 Anthony Wesley
1997-09-09  3:50 ` Geoffrey Noer
1997-09-09 23:33   ` Fergus Henderson
1997-09-11  9:20     ` Christian Soeller
1997-09-09 23:33 ` Andrey A. Kulaga
1997-09-11 10:10   ` AECEULA, QUEST Team
1997-09-12  9:32     ` Earnie Boyd
1997-09-12 12:07     ` M. Halpin
1997-09-12 20:49       ` Where is b19 Daniyal Syed
1997-09-13 11:51         ` Michael Hirmke

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).