Kaufman, Adam wrote:
Ok, here’s what I came up with for a Solaris 10 patch. I don’t know that it’s the best way, but I tried to make somewhat clean. Feel free to rewrite/suggest anything. Note that Solaris 10 removed the ability to compile libc static, and I don’t know if we think it’s worth the effort, so I just made checks to disable it for SunOS.
mem.h does not look right:
#if defined(sunos) #define MEM_DEV "/dev/mem" #else #define MEM_DEV "/dev/xsvc" #endif
should it be
#if !defined(__sun)
maybe?
Please post a Signed-off-by: http://linuxbios.org/Development_Guidelines#How_to_contribute