The following set of patches make it possible to compile babeltrace with MinGW32. The babeltrace source has been reorganized. There is now a new compat source directory, along with a include/babeltrace/compat header directory. These now isolate the system-specific pieces of code.
The first three patches (01 - 03) deal with the new compat directories, moving current code around. No new functionality is added in these patches. Patches 06 - 12, 14 - 22, and 25-27 add MinGW implementations of library functions that are missing in MinGW. Patches 04 and 24 make sure correct libraries and header files are used. Patch 05 updates .gitignore with Windows *.exe files. Patch 23 overcomes several problems in MinGW. With MinGW, openat() does not work at all, and there is no easy implementation available. So instead of openat(), in MinGW, we open the file using the full qualified path name. This patch also deals with problems with directory handles. Patch 28 adds a binary flag for the fdopen() command as is required for Windows. Thank you, JP Ikaheimonen | SW Development Engineer http://go.mentor.com/sourceryanalyzer Mentor Embedded(tm) | Nucleus(r) | Linux(r) | Android(tm) | Services | UI | Multi-OS Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
_______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
