From: Petr M. <mi...@ph...> - 2018-04-06 13:50:25
|
I build gnuplot on OS/2 via gcc/emx. The binary then runs on OS/2, eCommStation, DOS with emx.exe or rsx.exe. Thus it is necessary to keep __OS2__ and __EMX__. The gcc/emx I use is gcc 2.8.1, and it does not know command line option "-std=c99". I've prepared some patches for OS/2 in 2017 but not committed them due to the transfer of cvs to git. I'll have to learn how to submit them. BTW, would not C99 syntax break VMS/VAX compilers? Its makefile is still in the config/ directory. Petr >> EMX: Used on DOS and OS/2, so removing support for it might break >> OS/2, too (Petr?) > > Petr: > > Are you still building gnuplot on OS/2? > What toolset[s] are needed for that? > > In particular I am wondering if the __EMX__ conditional code and the > emxvga.trm driver can be removed. > > The EMX project web page seems to show that the most recent > supported gcc is 3.0.4 (from 2002). I suspect that if we move to > requiring a compiler that accepts C99 syntax that version is too old. |