This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Success with MinGW and AVR and LTO - almost
- From: Rafael Espindola <espindola at google dot com>
- To: Andrew Hutchinson <andrewhutchinson at cox dot net>
- Cc: GCC Development <gcc at gcc dot gnu dot org>, Denis Chertykov <chertykov at gmail dot com>, Anatoly Sokolov <aesok at post dot ru>, "Weddington, Eric" <Eric dot Weddington at atmel dot com>
- Date: Sun, 10 Jan 2010 15:05:51 -0500
- Subject: Re: Success with MinGW and AVR and LTO - almost
- References: <4B49DEA8.2080909@cox.net>
> I hacked fopen/open calls in Âlto.c and lto-elf.c to use O_BINARY and "rb"
> and compilation with -flto was then successful!
>
> I am not sure how this should be fixed properly.
Using O_BINARY and "rb" should be a nop on unix, no? Is it wrong to
use them on any arch we care about?
> Andy
Cheers,
--
Rafael Ãvila de EspÃndola