> NO - its entire purpose is interfacing with Cygwin and other POSIX sosftware,
> including on other systems, from MS cmd if users insist, but according to 
> POSIX
> rules! We now have only limited support for some non-POSIX text files.

I understand. The command line parsing really isn't supposed to offer an
interface for Windows software, but rather "accidentally" works for that
purpose in most cases. Thanks for clearing that up. I'll let my manager
know that anything that goes wrong here is simply because we insist on
being unreasonable (not like I didn't say that before).

Sadly, calling Cygwin binaries from Windows software is somewhat of a
"tradition" in our company. It's all over the place starting with our
classic build procedure:

1. Fire up a batch script to unpack a Cygwin environment and launch a
   shell script in a Bash within the unpacked Cygwin.
2. Shell script only really calls Make with its given arguments. I'm
   guessing that's to ensure the path variable and other environment
   variables are set.
3. The Cygwin Make instance then launches sub-Makes, but those are
   spawned from several versions (going back all the way to 3.x) of
   MinGW Make that are checked into version control, just like the
   tarball of the Cygwin env.
4. The MinGW sub-Makes are then calling the unpacked Canadian cross-
   toolchain hosted in Cygwin (also checked in as tarball). Notice,
   we're building on a Windows system for a Linux target.

It's Win32 (cmd) -> Cygwin (bash) -> Cygwin (make) -> Win32 (make)
-> (Win32 (cmd) ->) Cygwin (gcc).

I've always wondered why they had to do quoting in their Makefiles in
such a weird way.

Well, here's to hoping the CMake project system + MinGW toolchains will
be such a resounding success, it'll convince everyone here to stop
misusing Cygwin.

________________________________
LÖWEN ENTERTAINMENT GmbH • Saarlandstraße 240 • 55411 Bingen am Rhein • 
Geschäftsführung: Christian Arras (Vorsitzender), Oliver Bagus, Dr. Daniel 
Henzgen • Vorsitz im Aufsichtsrat: Uwe Christiansen • Amtsgericht Mainz • HRB 
23327 • USt.-IdNr. DE148266135 • WEEE-Reg.-Nr. DE 53361450 • Tel.: +49 6721 407 
0 • E-Mail: i...@loewen.de

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to