| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:mime-version:in-reply-to:references:from:date | |
| :message-id:subject:to:content-type; q=dns; s=default; b=JR+brEn | |
| tT8YP3RYaR/j+5VovafdcGfqMeQdNRhtKDxNtyKpx/sWlNDdEvQyErDGLPVWQkw7 | |
| 8+6s/JEGYpww1e7QjiaiJnNGqyMQDEjTUBHQ35r214+J0nFiOZB/pD5x12pFjY1k | |
| 3yI9NsfXYlOT3poxgAXaYHoJKTUDPNwtj5Ck= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:mime-version:in-reply-to:references:from:date | |
| :message-id:subject:to:content-type; s=default; bh=iTfR5A/xAa5Jf | |
| oBO1J0M2JTbA5M=; b=Et5v9g/Vb+BZ36B+m244GCBaUG9l+SEQsEu/DOm73pgV9 | |
| g2GuFjkREaJ234f3833TZtqb/7DGKweOODg4PADDIIIufkQ8SdA3ID+1ncFw7nGW | |
| YpLfYMhUneBUI35Yb4Iy/lYi0jRZGBvCvOzjQDP/8YYknsX4Liev9deTl+z738= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-0.0 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
| X-HELO: | mail-lb0-f171.google.com |
| X-Received: | by 10.112.166.5 with SMTP id zc5mr14309152lbb.20.1418008902577; Sun, 07 Dec 2014 19:21:42 -0800 (PST) |
| MIME-Version: | 1.0 |
| In-Reply-To: | <CAJ4+4aoRD41iqj=pSmxg1PZbiRuigvQO6chh3nP=Lsawwaq=Yg@mail.gmail.com> |
| References: | <1417949876 DOT 13948 DOT ezmlm AT cygwin DOT com> <CAJ4+4aoRD41iqj=pSmxg1PZbiRuigvQO6chh3nP=Lsawwaq=Yg AT mail DOT gmail DOT com> |
| From: | paul DOT hermeneutic AT gmail DOT com |
| Date: | Sun, 7 Dec 2014 20:21:22 -0700 |
| Message-ID: | <CAJ4+4arO66kV9Ycv6d43oPSgtd4yYfw2U7uJDP5jrAtYmFspQA@mail.gmail.com> |
| Subject: | Re: cygwin Digest 7 Dec 2014 10:57:56 -0000 Issue 8995 |
| To: | cygwin AT cygwin DOT com |
Based on the output of the identify-compilers.sh script below, it
appears that the following C compilers are available on Cygwin. Those
labeled "Cygwin" require the cygwin1.dll file to be available.
What is the difference between the "pc" and "w64" compilers?
Why is there no x86_64-pc-mingw-gcc.exe executabe?
Are there any other C compilers available?
/usr/bin/gcc.exe 64-bit Cygwin
/usr/bin/i686-pc-cygwin-gcc.exe 32-bit Cygwin
/usr/bin/i686-pc-mingw32-gcc.exe 32-bit
/usr/bin/i686-w64-mingw32-gcc.exe 32-bit
/usr/bin/x86_64-pc-cygwin-gcc.exe 64-bit Cygwin
/usr/bin/x86_64-w64-mingw32-gcc.exe 64-bit
$ cat identify-compilers.sh
#!/bin/bash
for c in $(ls -1 /usr/bin/*gcc.exe); do
echo === compiler: $c
$c -o hello.exe hello.c
objdump -p hello.exe | grep -i "cygwin"
objdump -p hello.exe | grep -i "64$"
rm hello.exe
done
On Sun, Dec 7, 2014 at 4:30 PM, <paul DOT hermeneutic AT gmail DOT com> wrote:
> Based on the output of the identify-compilers.sh script below, it appears
> that the following C compilers are available on Cygwin. Those labeled
> "Cygwin" require the cygwin1.dll file to be available.
>
> What is the difference between the "pc" and "w64" compilers?
>
> Why is there no x86_64-pc-mingw-gcc.exe executabe?
>
> Are there any other C compilers available?
>
> /usr/bin/gcc.exe 64-bit Cygwin
> /usr/bin/i686-pc-cygwin-gcc.exe 32-bit Cygwin
> /usr/bin/i686-pc-mingw32-gcc.exe 32-bit
> /usr/bin/i686-w64-mingw32-gcc.exe 32-bit
> /usr/bin/x86_64-pc-cygwin-gcc.exe 64-bit Cygwin
> /usr/bin/x86_64-w64-mingw32-gcc.exe 64-bit
>
> $ cat identify-compilers.sh
> #!/bin/bash
> for c in $(ls -1 /usr/bin/*gcc.exe); do
> echo === compiler: $c
> $c -o hello.exe hello.c
> objdump -p hello.exe | grep -i "cygwin"
> objdump -p hello.exe | grep -i "64$"
> rm hello.exe
> done
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |