From: Arjen M. <Arj...@de...> - 2017-08-02 19:37:10
|
Hi Alan, See below - we are no closer to a solution, sigh. Regards, Arjen > -----Original Message----- > From: Alan W. Irwin [mailto:ir...@be...] > Sent: Tuesday, August 01, 2017 9:57 AM > ... > 1. If you get good results in the Cygwin case, but not the > MinGW-w64/MSYS2 case, then that is pretty good evidence of a bug in the > MinGW-w64/MSYS2 "make" package. > > 2. If both don't work, then that means long command lines work in neither, and > perhaps we have to write off this PLplot issue for the > MinGW-w64/MSYS2 case to longer path names/longer command lines in that case > compared to the Cygwin case. But I consider this result to be unlikely because > according to <https://stackoverflow.com/questions/19354870/bash-command-line- > and-input-limit> > the Cygwin bash line limit is 32000 bytes, i.e., well above the 2001 bytes generated > above. > > 3. But if both work, then you will have to dig deeper. > > There is but a single bash.exe on the system and the makefile you sent works perfectly on both Cygwin and MinGW. Your example did inspire me to try "gcc -o x x.c -DLONG=01234.....89" instead of "echo". That, however, works perfectly as well. There must be something much more specific that is causing this. For the moment I have run out of easy-to-test ideas though. Regards, Arjen DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |