mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-13 12:53:53 +00:00
Estimated hours taken: 3 Branches: main Fix a bug where `mercury.dll' was not being found by the C# compiler. when you configured with a non-MS C compiler. This bug broke tests/hard_coded/foreign_type in grade il. configure.in: bindist/bindist.build_vars.in: Rename CYGPATH as FIX_PATH_FOR_CC. scripts/Mmake.vars.in: Rename CYGPATH as FIX_PATH_FOR_CC, and add new variables FIX_PATH_FOR_CL and FIX_PATH_FOR_CSC. The new variables are currently hard-wired as `cygpath -w', since currently we only support the MS versions of CL and CSC. Also, change the definition of MERC_DLL_DIR to use $(GRADE) rather than hard-coding "ilc". scripts/Mmake.rules: Use the new variables, rather than $(CYGPATH). Also, update various comments, and delete the unnecessary version number from the MS_VC7_INCLUDES_DIR and MS_VC7_INCLUDES variable names. scripts/ml.in: Use @FIX_PATH_FOR_CC@ rather than @CYGPATH@.