[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 mer. 13 déc. 2017 03:26:12 +0000, wrote:
> On Tue, Dec 12, 2017 at 10:55:31AM +0100, Samuel Thibault wrote:
> > 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.
> okay.
> But the gcc compiler header is GPL v2,

I'm not saying to copy the gcc headers, but just add the search path
with -I.

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®.