Hi, I finally got around to converting my (and Peter C's) monolithic patch for gEDA/gaf to a series of git commits. I submitted most of them to the patch tracker at sourceforge. Here is a summary:
* Replace index and rindex by strchr and strrchr. * MinGW does not have getuid nor getgid. * MinGW does not have sys/wait.h. * MinGW does not have symlinks. * Use g_path_is_absolute from GLIB instead of platform specific code. * Use forward slashes as path separators on MinGW. * Remove uneeded MinGW-only libraries. * Tell git to ignore the ylwrap file. * Tell git to ignore .exe files. There is still some work in progress in the following areas: * MinGW does not have realpath. * MinGW does not have getlogin. I have some quick workarounds for those, but I think I can do better. All of the above, combined, should result in code that builds to completion on MinGW. From my limited testing, there are still some run-time issues: * HTML based documentation does not work from the Help menu. gschemdoc is a shell script. It should work if the user has a shell interpreter in the PATH (from MSYS or Cygwin). Or it could be converted to C. * gschem complains about not being able to save backup files. Something to do with manipulating read-only files, I think. * gnetlist fails on all its tests. Part of it seems to be a line-end issue (CR-LF on Windows) when comparing files. I will proceed to debug those, and any other difference from the Linux/Cygwin version I find. Regards, Cesar _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
