Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
arm-none-eabi-gcc 6.3.1 を使用して stm32 用のファームウェアを構築しています。
リンク時の最適化を有効にしても、コンパイルして起動し、-ftlo を使用しない場合よりも ~10kiB 小さくなりますが、わずかな破損があります。
どうすればこれをデバッグできますか?
リンク時の最適化中に (誤って) 何を破棄するかを gcc に教えてもらう方法はありますか?