This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Probably stupid make question


We're perverting CMake and Cygwin make to use a cross-compiler for z/OS (IBM mainframe). We've beaten it mostly into submission, but are hitting an issue with definitions being passed.  Cygwin make seems to be passing them in the format:
        -Dvarname value
rather than:
        -Dvarname=value
and the cross-compiler doesn't like that much. Some discussion with more *IX-savvy friends suggests that the "blank" format is older, and is deprecated due to ambiguity (does "-Dvarname abc.c xyz.c" mean "set varname to abc.c and compile xyz.c", or "set varname to 1 and compile abc.c and xyz.c"?).

Is there a flag or other setting to change this behavior?

I spent a bunch of time searching for any discussion, but "make" is a pretty generic term, I get tens of thousands of hits with anything I've tried (it doesn't help that most search engines strip "-D" to just "D", and then probably drop that...).
--
...phsiii

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]