delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/18/13:15:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199906181713.MAA05142@mercury.xraylith.wisc.edu>
To: Richard Hickling <hicklinr AT mcd DOT alcatel DOT be>
cc: "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: gcc -print-prog-name=ld with mingw32 binaries
In-Reply-To: Your message of "Fri, 18 Jun 1999 18:30:40 +0200."
<376A742E DOT 668A35EF AT mcd DOT alcatel DOT be>
Date: Fri, 18 Jun 1999 12:13:57 -0500
From: Mumit Khan <khan AT xraylith DOT wisc DOT EDU>

Richard Hickling <hicklinr AT mcd DOT alcatel DOT be> writes:
> >   $ cd /egcs-1.1.2/i386-mingw32
> >   $ mkdir bin
> >   $ cd bin
> >   $ cd /egcs-1.1.2/bin/{as,ld} .
        ^^

      $ cp /egcs-1.1.2/bin/{as,ld}.exe .
      (obvious typo).
> 
> cp of course, but ...
> 
> > Now it'll do what you want.
> 
> Obviously I'm missing something.  It behaves in the same way.

Really? Here's mine:

$ ls -l c:/egcs-1.1.2/i386-mingw32/bin/
total 618
-rwxrwxrwx   1 khan     Everyone   325120 May 11 18:41 as.exe
-rwxrwxrwx   1 khan     Everyone   308224 May 11 18:41 ld.exe
$ gcc -print-prog-name=as
c:\egcs-1.1.2\lib\gcc-lib\i386-mingw32\egcs-2.91.66\..\..\..\..\i386-mingw32\bin\as.exe

(don't be fooled by the '$' prompt; it's really an NT machine).

> The mingw32 targeted compiler is version egcs-2.91.66 19990314, whereas the
> cygwin targeted one is egcs-2.91.57 19980901 (the Cygwin release I see).
> These were downloaded from
> ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygwin/egcs-1.1.2/egcs-1.1.2-c
> ygb20.tar.gz
> 
> and
> ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/egcs-1.1.2/egcs-1.1.2-
> mingw32.zip
> 
> today.
> 
> I prefer the behaviour of the 2.91.57 - since it gives more information,
> but I'd like to use the most recent compiler.
> 

What're you talking about? Both have the same version, egcs-2.91.66, which
translates to egcs-1.1.2.

Did you actually install both and run ``gcc -v'' and see what gives?

Also, keep in mind that the Cygwin and Mingw native compilers are two
different compilers for two different runtimes. I have no intention of
getting them to look alike, since they're not alike; my concern is to
get these compilers to do their job.

If you feel there are inconsistencies you'd like to see gone, please feel
free to send patches to solve them. 

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019