Success with MinGW and AVR and LTO - almost

Rafael Espindola espindola@google.com
Sun Jan 10 20:06:00 GMT 2010


> 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



More information about the Gcc mailing list