wook815 / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

[PATCH] fix compilation on GNU/Hurd #124

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently google-glog 0.3.2 does not compile on GNU/Hurd.

The problem is that configure actually finds syscall.h, but that isn't the way 
to "syscalls" (which are actually RPCs between the various Hurd servers, routed 
by the GNU Mach microkernel). The solution I chose (patch hurd_syscall.diff) is 
to disable the configure search for syscall.h and sys/syscall.h (another 
solution could be #ifdef out the syscall()-using bits).

Also, I'm attaching hurd_os_define.diff to add a OS_HURD macro to identify 
GNU/HUrd.

hurd_syscall.diff + the patch in issue #123 allow me to compile google-glog and 
run its test suite successfully.

Original issue reported on code.google.com by toscano....@tiscali.it on 20 Apr 2012 at 5:07

Attachments: