FreeBSD build?

22 views
Skip to first unread message

Daniel Pocock

unread,
Jul 17, 2013, 11:49:00 AM7/17/13
to si...@googlegroups.com


The Debian GNU/kFreeBSD build currently fails.  It is basically Debian with a FreeBSD kernel

Initially it fails with


os/OsUtil.cpp:435:2: error: #error Unexpected Platform/CPU type

I quickly tried adding PLATFORM_FREEBSD:

+#elif defined(__FreeBSD_kernel__)
+   platform = PLATFORM_FREEBSD;


and it subsequently fails here:
os/linux/OsTaskLinux.cpp: In function 'int gettid()':
os/linux/OsTaskLinux.cpp:52:44: error: 'SYS_gettid' was not declared in this scope
 static inline int gettid() {return syscall(SYS_gettid);}


Given that PLATFORM_MACOSX exists (and is FreeBSD based) should it be feasible to make a PLATFORM_FREEBSD build?



Reply all
Reply to author
Forward
0 new messages