mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-18 15:26:31 +00:00
Estimated hours taken: 1 Branches: main Get "gcc -mno-cygwin" as the C compiler to build under cygwin. configure.in: Remove the \r before using the string result of c programs. boehm_gc/Makefile: Add some - before ./if_not_there commands as these commands appear to fail to make, when they succeed. I don't understand why. robdd/Mmakefile: util/Mmakefile: Add --no-mercury-stdlib-dir when compiling the C files otherwise one gets the C includes coming from the installed compiler which may not be compatible with -mno-cygwin.
This directory contains source code for handling Reduced Ordered Binary Decision Diagrams (ROBDDs). bryant.c contains almost all of the code; bryantPrint.c contains only code for printing ROBDDs. This code could really use a good spring cleaning. My apologies for not taking the time to do that yet. Much of the complication of the code stems from maintaining several different versions of the code in a single file. For users of this code these versions are probably not very interesting. They are there for experimenting with various implementations. Building the ROBDD code: A Makefile is provided; if you just wish to link the ROBDD code with your own code, making bryant.o and maybe bryantPrint.o should be enough. If you wish to use this ROBDD code as part of my groundness analyzer, then you just want to do make bryant.so and then move bryant.so to ../analyzer/rep.so