This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add -mno-library-call to ia32
Geoff Keating wrote:
> So actually, every implementation is a 'conforming freestanding
> implementation', but some are 'conforming hosted
> implementations' too.
OK, I agree with that reading of clause 4. So the language accepted in
a freestanding environment is a subset of that accepted in a hosted
environment.
> However, this is all somewhat orthogonal to the discussion. GCC uses
> the -ffreestanding flag not to change its own behaviour, but to change
> what it expects from the environment.
Yep, and the question is whether compiling with -ffreestanding should
provide for an object file that doesn't have any externals to
libgcc[12].a. The standard doesn't have a say about this, other than
that it obviously wants a freestanding implementation to support
compiling an OS kernel (and hence, whatever library you need shouldn't
require OS services).
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)