Closed Petross404 closed 5 years ago
make V=1 and paste the output. Seems your box tries to add flags that aren't supposed to be there, and avr-gcc doesn't like them...
simavr.log That's the output. I think that my gentoo profile forces some hardening options on GCC.
Well these options are related to x86 gcc, not avr-gcc, so it's certainly not a bug of simavr!
Well these options are related to x86 gcc, not avr-gcc, so it's certainly not a bug of simavr!
Still, isn't the x86 gcc that is compiling simavr?
Not all, the AVR-CC lines means it's trying to compile the examples (which are AVR code) using obviously -fpie from a default x86 CFLAGS line
Not all, the AVR-CC lines means it's trying to compile the examples (which are AVR code) using obviously -fpie from a default x86 CFLAGS line
So should I force make
to use avr-gcc
?
I cloned the repo on my Gentoo box and I am trying to compile simavr. I am stuck at this error.
Any ideas?