This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to allow strlen expander to fail
- To: Phil Edwards <pedwards at jaj dot com>, martin at loewis dot home dot cs dot tu-berlin dot de, gcc at gcc dot gnu dot org, jbuck at racerx dot synopsys dot com, law at cygnus dot com, vonbrand at sleipnir dot valparaiso dot cl
- Subject: Re: Patch to allow strlen expander to fail
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Tue, 07 Mar 2000 23:32:12 +0100
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <200003072220.RAA20795@jaj.com> <38C5819B.A24A362C@moene.indiv.nluug.nl>
I wrote:
> [ freestanding vs hosted execution environment in C ]
> % grep flag_hosted *.c
> c-decl.c:int flag_hosted = 1;
> c-decl.c: flag_hosted = 1;
> c-decl.c: flag_hosted = 0;
>
> That's all, folks !
I probably should go to sleep - flag_hosted == 0 implies flag_no_builtin
- so it should work correctly. The Linux makefile(s) simply have to
specify -ffreestanding to get this to work correctly.
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
GNU Fortran: http://gcc.gnu.org/onlinedocs/g77_news.html