[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] Add "-nostdinc" to gcc when HAVE_LIBC is not enabled



Huang Shijie, on mar. 12 déc. 2017 09:50:20 +0000, wrote:
>     I am trying to add the DTC to the mini-os by coping its code to minios.
> 
>     I added the "-nostdinc" to gcc when the HAVE_LIBC
>     is not enabled, and I copied the headers from the FreeBSD code.
> 
>     (Of course, I copied many headers from the FreeBSD code, such as 
> stddef.h, stdarg.h..)
> 
>     It is a big patch for the mini-os. So is this a good idea, or a bad idea?

These should be provided by the compiler, not libc. You need to add the
compiler header search path along -nostdinc.

Samuel

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.