Re: [PATCH/RFC] libgloss: build with -nostdinc

Corinna Vinschen <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Feb 12 02:23, Mike Frysinger wrote:
> We don't want libgloss building against C library headers that happened
> to be installed with the toolchain, so add -nostdinc to the build.  We
> still need access to the compiler internal headers, so probe those and
> include them via -isystem.  This uses a similar probing style as glibc,
> which has used it for over a decade, so it should be safe & stable.
> 
> This should prevent any latent bugs due to testing with a toolchain that
> is fully configured & installed already.
> ---
> NB: tested against these targets:
> aarch64-elf arc-elf arm-eabi
> bfin-elf
> cr16-elf cris-elf csky-elf
> epiphany-elf
> frv-elf
> h8300-elf
> i686-pc-cygwin iq2000-elf
> m68k-elf microblaze-elf mips-elf mn10300-elf moxie-elf
> nds32le-elf
> or1k-elf
> powerpc-elf
> sparc-elf sparc-rtems
> v850e-elf visium-elf
> 
>  libgloss/configure    | 20 ++++++++++++++++++++
>  libgloss/configure.ac | 11 +++++++++++
>  2 files changed, 31 insertions(+)

Great, please push.


Thanks,
Corinna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.