Re: distinguishing cygwin from mingw binaries

2017-07-11 Thread cyg Simple
On 7/10/2017 2:00 PM, Kaz Kylheku wrote: > On 10.07.2017 10:40, Nellis, Kenneth wrote: >> For my personal use, I use gcc to generate binaries, but occasionally >> I need >> to make a binary available to someone who doesn't use Cygwin. For that >> I use >> Cygwin's x86_64-w64-mingw32-gcc. >> >> Afte

Re: distinguishing cygwin from mingw binaries

2017-07-11 Thread cyg Simple
On 7/10/2017 1:40 PM, Nellis, Kenneth wrote: > For my personal use, I use gcc to generate binaries, but occasionally I need > to make a binary available to someone who doesn't use Cygwin. For that I use > Cygwin's x86_64-w64-mingw32-gcc. > > After the fact, I would like to know whether the binar

RE: distinguishing cygwin from mingw binaries

2017-07-11 Thread Nellis, Kenneth
From: Hans-Bernhard Bröker > That's a bit too rough. Something like > > cygcheck ./foo.exe | grep cygwin1.dll > orldd ./foo.exe | grep cygwin1.dll > > would be more precise. Appreciate the improved tests. Thanx! > > One of my wishes for Cygwin is for the "file" command to make the >

Re: distinguishing cygwin from mingw binaries

2017-07-10 Thread Hans-Bernhard Bröker
Am 10.07.2017 um 19:40 schrieb Nellis, Kenneth: For my personal use, I use gcc to generate binaries, but occasionally I need to make a binary available to someone who doesn't use Cygwin. For that I use Cygwin's x86_64-w64-mingw32-gcc. After the fact, I would like to know whether the binary requi

Re: distinguishing cygwin from mingw binaries

2017-07-10 Thread Kaz Kylheku
On 10.07.2017 10:40, Nellis, Kenneth wrote: For my personal use, I use gcc to generate binaries, but occasionally I need to make a binary available to someone who doesn't use Cygwin. For that I use Cygwin's x86_64-w64-mingw32-gcc. After the fact, I would like to know whether the binary require

distinguishing cygwin from mingw binaries

2017-07-10 Thread Nellis, Kenneth
For my personal use, I use gcc to generate binaries, but occasionally I need to make a binary available to someone who doesn't use Cygwin. For that I use Cygwin's x86_64-w64-mingw32-gcc. After the fact, I would like to know whether the binary requires Cygwin support or not. One way is: strings