Prof A Olowofoyeku (The African Chief) wrote:
On 3 Apr 2004 at 13:49, Frank Heckenbach wrote:
Prof A Olowofoyeku (The African Chief) wrote:
[...]
I am not sure who on the GRX team to send this file to. It is certainly needed for anyone who wishes to build GRX on Windows, using gcc.
I suggest to send it to the GRX list grx@gnu.de. (They regularly send patches etc. on the list.) If you don't feel like subscribing to that list, I suppose you can send it to the maintainer, Mariano Alvarez Fernandez <malfer(at)telefonica.net> or to Dimitar Zhekov <jimmy(at)is-vn.bg>, currently the most active contributor, also for Windows stuff.
Ok, thanks. I have sent it to them both. There is another problem as well. GRX cannot be used with the Crt unit (using PDCurses) - there are multiple definitions of getmaxx and getmaxy in libpdcurses.a and libgrx20.a.
That's an old problem (I talked about it with Mark Hessling, the PDCurses author, 5 years ago). Apparently these symbols are both part of the curses standard and used by Borland C's graph library.
In C, both have to be global functions. (There are also macros, but AFAIK the functions are provided for cases like taking the address of them.)
I suggested to Mark to put a conditional around the global functions, and I think he agreed, but apparently this hasn't been done.
So unless one can convince him, or the GRX authors, to do this, you might have to patch one the libraries yourself. The patched versions might fail in some strange situations in C, so they should be labeled. In Pascal it won't be a problem if you adjust the external names (and calls to them from within the library -- there seem to be a few in both cases).
Frank