[lttng-dev] [Babeltrace RFC PATCH 00/28] Add support for MinGW32

Ikaheimonen, JP jp_ikaheimonen at mentor.com
Thu May 2 07:46:08 EDT 2013


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130502/237998ba/attachment-0001.html>


More information about the lttng-dev mailing list