Andrew Hutchinson wrote: > I used "v" and progressed a little > > The problem seems to be that linker is called with -fwhopr or -flto as > command line option. > > ld -fwhopr ..... > > Linker find '-f' and complains. > > I assume this is not a valid option for ld? Or is my linker wrong > version or something?
It's not a valid option for ld. It *is* a valid option for the collect2 driver/wrapper executable that gcc uses to invoke ld, which suggests to me that the AVR port must be configured not to build collect2, but that it is going to need to do so if it wants to use LTO/WHOPR. See use_collect2 in gcc/config.gcc cheers, DaveK