This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin Digest 7 Dec 2014 10:57:56 -0000 Issue 8995
- From: paul dot hermeneutic at gmail dot com
- To: cygwin at cygwin dot com
- Date: Sun, 7 Dec 2014 20:21:22 -0700
- Subject: Re: cygwin Digest 7 Dec 2014 10:57:56 -0000 Issue 8995
- Authentication-results: sourceware.org; auth=none
- References: <1417949876 dot 13948 dot ezmlm at cygwin dot com> <CAJ4+4aoRD41iqj=pSmxg1PZbiRuigvQO6chh3nP=Lsawwaq=Yg at mail dot gmail 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.hermeneutic@gmail.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