パスワードを忘れた? アカウント作成
13820381 journal
日記

sheseeの日記: clang fit PIC 1

日記 by shesee

XC8 2.x ってclangだったんだな。LLVMでは無い?

Clang front end The compiler's front end responsible for preprocessing and parsing the C source code, is now implemented using Clang. This frontend is used when compiling for the C99 standard, regardless of whether you are using the new (xc8-cc) or previous (xc8) drivers. When using Clang, there might be differences in how source code is preprocessed, and different warning or error messages might be produced during the parsing stage.

この議論は賞味期限が切れたので、アーカイブ化されています。 新たにコメントを付けることはできません。
  • 中間コードを clang で作って、中間コードからアセンブラ、アセンブラからバイナリは従来の処理系を使っているみたい。

    もともと、XC8 は、制限の多い8bit PICで最適化するために、基本的に部分コンパイルをしない作りで、各ソースコードを中間コードをにして、全部マージしたのちにコード生成することで LTO より踏み込んだ最適化をするようになってました。

    # それより、 https://www.microchip.com/mplab/compilers [microchip.com] から XC16 がダウンロード出来ないのが気になる。PIC24はもう止めるのか?

    --
    なんちゃってプログラマ?
typodupeerror

一つのことを行い、またそれをうまくやるプログラムを書け -- Malcolm Douglas McIlroy

読み込み中...