Le 25/10/2012 20:20, Schindler Karl-Michael a écrit :
I have uploaded to the "more things" sections of GRX a tentative patch for the Mac OS X / X11 system http://grx.gnu.de/macosx.diff
It includes a set of makefile.osx, a saparate section in makedefs.grx, and an update of the configure script
With respect to your suggestions:
1) Mac OS X target is recognized through the conditional defined(__APPLE__) && defined(__MACH__) as in gpc patches from microbizz. It is included in .c/.h files to avoid conflicts witn other targets.
2) GRX_VERSION can be GRX_VERSION_GCC_386_X11 GRX_VERSION_GCC_X86_64_X11 for intel cpus GRX_VERSION_GENERIC_X11 for powerpc but this is used only in demo programs
3) The dynamic lib is named libgrx20X-2.4.9.dylib with symlinks libgrx20X-2.dylib and libgrx20X.dylib like in other dynamic libraries found in XCode.
3) I have left USE_X86DGA_DRIVER stuff I do not know if this makes sense in darwin
4) no change to the readme files and to the manual
All this is completely tentative, as I have no Mac computer to check
Maurice