[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Mini-OS library linking
Hi Ian, I managed to figure it all out (nearly). As soon as I fix a couple of things I'll publish some guidelines for cross-compiling new libraries into the current Mini-OS. Right now during compilation of my library, I pass through the various amounts of Mini-OS flags and I'm suppressing it from using the standard include path using -nostdinc in order to build it using NewLib header files.
The strange thing is that by doing so, it gets stuck because of a missing <stddef.h>. Now... this isn't part of NewLib, so a fatal error occurs. However, Mini-OS itself has a header file <types.h> which uses the <stddef.h> from the Dom0 system headers. So I wonder if there's a way to include just one header file in GCC. Looking in /usr/include/linux/stddef.h, it has very little in it, so perhaps it's worth me including a copy in Mini-OS? Or is there a reason why they chose not to include one?
Thanks for your reply by the way, I understand it's not the easiest of topics. Apologies for the potentially confusing wording of my email, Adrian
On Tue, Aug 14, 2012 at 11:33 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
( +44
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |