This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is it ever possible to build libmudflap, libssp, or libgomp when inhibit_libc is set?


Steve Kenton <skenton@ou.edu> writes:

> Is it ever possible to build libmudflap, libssp, or libgomp when
> inhibit_libc is set?

It seems unlikely.

> If not, is is reasonable to add a check to the top level configure to detect
> situations that will cause gcc configure to set inhibit_libc and add those
> libraries to either skipdirs or noconfigdirs.  (Which would be preferred?)
> It looks like just a couple of lines in configure to exclude them
> automatically
> if they can never build under that condition on any target.

That seems reasonable in principle.  They should be added to
skipdirs.  Ideally the condition expressing when inhibit_libc should
be set should be done in a single place, and then somehow communicated
to other places.

In the current inhibit_libc condition I don't understand the
interaction between --with-newlib and --with-headers.  If newlib is
available, inhibit_libc normally should not be defined.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]