SpenceKonde / DxCore

Arduino core for AVR DA, DB, DD, EA and future DU-series parts - Microchip's latest and greatest AVRs. Library maintainers: Porting help and adviccee is available.
Other
189 stars 50 forks source link

Is there a -r option hidden in the DxCore settings? #528

Closed mikrocoder closed 3 months ago

mikrocoder commented 6 months ago

Hi,

I am currently testing the avr-gcc 8.5.0 toolchain. I always have the problem that the compilation stops because of a mrelax error. Somewhere the compiler option -r is set according to the error message. But with -v and -Wl,-v I don't see an option -r set anywhere.

Now I ask you specifically. Are you aware that there might be an option -r hidden somewhere in your DxCore settings that I don't see?

Thanks.

SpenceKonde commented 4 months ago

Please post the text of the error you get when using my core with a toolchain other than the known working one which we ship with, and I will comment on it,

The specifics of the error message do actually contain meaning to those versed in the requisite dark and forbidden knowledge.

If you're asking whether -mrelax is being used, yes, of course it is, the bloat without it sucked.

SpenceKonde commented 3 months ago

No response from OP.

Yes, -mrelax is used because it saves 10-20% in binary size. You are the first person to speak ill of it.

mikrocoder commented 3 months ago

I didn't say anything bad about it. What makes you think that? I had a problem with the compile option. Nothing more. But it's done anyway.

By the way, about “no response”. Controller Images Maybe you should also answer if you are already calling for support. No response since February.