Bruce Mahfood a écrit:
Hi all, I am on the warpath trying to compile a set of pascal files that were left to me by a predecessor. My latest issue is that my files have the statement "Uses graph". Looking online, I find that this is a Borland thing referring to the use of the Borland Graphics Interface (BGI).
I have found that GNU supports a package called GRX (http://grx.gnu.de/download/index.html), and the link "http://www.gnu-pascal.de/gpc/Graph-unit.html#Graph-unit" says it's known to work under Cygwin. I have extracted the files into my cygwin installation at /usr/local/src, and am looking at the makefiles. Unfortunately, there is only a mingw specific makefile and not a cygwin specific one. I have not yet worked with mingw, and don't really know how these two correlate.
There has been on the GRX list a submission of cygwin makefiles (and some other changes) by Demmer Thomas: in fact two, the second superseding the first. But these were for grx246, and incompatible with others which have been included in grx247 (mainly the SDL driver). If you are interested I can make the necessary adaptation. I have not done it for grx247 because I have no cygwin setup to check it. But if you make the checks, it is probably worth the (seemingly small) effort.
But you probably need first to make your mind about the asm and intr issues. intr/msdos is solved with djgpp, for asm no way: 16 bit vs 32 bit incompatible systems.
Maurice