Linux dependencies
Alvaro Lopez Ortega
alvaro at sun.com
Thu Jun 30 03:10:25 PDT 2005
David Zeuthen wrote:
>> I have defined two new compilation variables for my tests: LINUX
>> and SOLARIS, and I have used #ifdefs to implement the equivalent of
>> the current functions for Solaris, and to inhibit the inclusion of
>> some Linux headers: scsi/sg.h, linux/hdreg.h, etc. This isn't
>> certainly the cleanest way to do it, so maybe we should think about
>> to move that code in the OS dependent back-end. Thoughts?
>
> I think it might be helpful to specify exactly where and what the
> problems are, cause I don't see anything OS-specific in hald/*.[ch]
>
> [davidz at daxter hald]$ pwd /home/davidz/Hacking/hal/hald
> [davidz at daxter hald]$ grep linux *.[ch]
Yeah, hald is compiling ok.
When I wrote that message I was trying to compile drive helper
library. Maybe the best approach for this case is to use ifdefs, don't
you think?
--
Greetings, alo.
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list