-
Notifications
You must be signed in to change notification settings - Fork 200
Cross platform development wiki
This is a central hub for useful quick information about different platforms that XLibre runs on. If you are unsure whether to add something or make a change to this page, just talk about it.
Udev APIs are supported by a wrapper around devd.
Filesystem hierarchy. hier(7)
- All 3rd party packages get installed to /usr/local/ (XLibre is a 3rd party package).
- The 3rd party include and lib files are also installed in /usr/local/lib and /usr/local/include/.
epoll is available on FreeBSD through libepoll-shim which is a wrapper around the native kqueue facilities.
IMPORTANT NOTE: The epoll.h header is located at /usr/local/libepoll-shim/sys/epoll.h, this means that the path /usr/local/libepoll-shim/ should be added to the compiler include search paths when using this header.
These functions are included in <sys/types.h>..
Same as FreeBSD above.
USB headers like usb.h, usbhid.c and ... are not in their usual location at <dev/usb/usb.h> but they are at <bus/u4b/usb.h>.
On DragonFlyBSD host_machine.system() returns 'dragonfly' not 'dragonflybsd' this means a naive check for BSDs like
if host_machine.system().endswith('bsd')leaves DragonFlyBSD out.