On 3 Apr 2004 at 22:36, Markus Gerwinski wrote:
Hi Folks,
Prof A Olowofoyeku (The African Chief) wrote:
Note that if you want your gpc driver to behave correctly under Windows 9x, you might need to edit gcc/config/i386/xm-mingw32.h as follows:
#define DIR_SEPARATOR '\' #define DIR_SEPARATOR_2 '/'
For NT/Win2k/XP and beyond, you don't need to do that.
I see. Is there a way to determine which Windows dialect I'm working on from within a configure.ac file?
Not that I know of. The problem is more than that. I work with XP but people who download the binaries that I release might be using Win9x. So I just now make the amendments referred to above. It doesn't hurt NT/Win2k/XP - and it prevents problems under Win9x.
I doubt that you will ever get ncurses to compile for Mingw. PDCurses compiles ok and can be used. You might need to make some changes to some of the sources, but, IIRC, it isn't too difficult. That is what I use for Crt.
I could release a binary package if there is interest.
Already got a pdcurses binary from www.mingw.org, thanks. Everything's running fine now. After playing with my own configure.ac and Makefile.am a bit, I didn't even have to change my Pascal sources. :-)
Excellent!
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/