<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>msyksphinz</author_name>
  <author_url>https://blog.hatena.ne.jp/msyksphinz/</author_url>
  <blog_title>FPGA開発日記</blog_title>
  <blog_url>https://msyksphinz.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>RISC-V バイナリを QEMU で動作させる試行の続き。 GCCだと-O3オプションで落ちてしまうので、LLVMを試してみよう。 configファイルに以下を追加する。 % define model --target=riscv64-unknown-linux-gnu -march=rv64gc --sysroot=/home/msyksphinz/riscv64-linux/sysroot --gcc-toolchain=/home/msyksphinz/riscv64-linux/ OpenMPに関連するフラグを削除する。 %if %{bits} == 32 intspeed,fpsp…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmsyksphinz.hatenablog.com%2Fentry%2F2025%2F04%2F05%2F040000&quot; title=&quot;SPEC2017をビルド・実行できる環境を作ろう (4. RISC-V向けのコンパイラをLLVMに変更する) - FPGA開発日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-04-05 04:00:00</published>
  <title>SPEC2017をビルド・実行できる環境を作ろう (4. RISC-V向けのコンパイラをLLVMに変更する)</title>
  <type>rich</type>
  <url>https://msyksphinz.hatenablog.com/entry/2025/04/05/040000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
