<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/96326>96326</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [libc][arm] implement startup for full build
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            libc
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            nickdesaulniers
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          nickdesaulniers
      </td>
    </tr>
</table>

<pre>
    I would like to be able to cross compile llvm-libc for 32b ARM via:

```
$ cmake ../runtimes -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -G Ninja -DLLVM_ENABLE_LLD=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_RUNTIMES="libc" -DLLVM_LIBC_FULL_BUILD=ON -DLIBC_HDRGEN_EXE=$HDRGEN -DLIBC_TARGET_TRIPLE=armv7-linux-gnueabihf
```

I'm working on fixing up the configuration so I can configure such a build, but then there are also numerous build issues once the configuration issues are sorted out. Once we can configure and build, then we should implement the startup code correctly for this platform.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsU1tvqzgQ_jXmZZSImEuaBx6SQLrRkrTKpqvuEzJmAJ8aO_KlPeffryDJ6apbCQbb831zMfMxa0WnEDOSbAilSvC3Bi3zUgk0llBKkjxg3vXaZF-cQa2bX9kePrSXDUjxhuA01AisltOSG20tcD1chESQ8n2YSVFzaLWBiNawPh3gXTASrUmYk_Bu0_D2XLc0Bj6wN4T5nNCd8cqJAS3M8u1h_WdRbV9fq-3T4XlfFicS5Vwy1RG6IXTzCfkfAGaPcBTqB4NZXpZ_H6riuN6URVWWOYnyp-Nv6uZlX-bV-Z_ngkT5CSUyi184p5fjeX8o_iJRTigdGySU3jHlfrOtdi9leY10Dz4d_5GfHotjVbwWEzW-7u_e8_r0WJyr82n_XI4AZob35UwK5X_OOuWR1aJvv7-xye4JXQ7woc2bUB1oBa34Oa78BVyPwLVqRecNc0IrsBr2wJn6fYxgPe-BQe2FbAjdQu3dSFSjMQhsfKXVoPyARnt7RYKw1qMFrTh-k-fmHclWG4cNaO_m8DSiP_BLBUw1n-mn1B8Itp-mTQwXiQOqqSawjhnnL8B1M2Y0BrmTv6Y5c72wcJHMtdoM86DJomYVrViA2WK5eFg9LFMaBX2GqyTluKQNwwWPm0W7TDgmizipWdjwVRqIjIY0DlO6WKRRFIfzZRpzmsZt_NDW_CGKSBziwIScj3M-16YLpmazVRrRNJCsRmlvIrvNyKgsk02yqH1nSRxKYZ39DOCEk5MwJ0KSk2TDzECS_D_t31sfe229lNcbC7yRWe_cxY7iojtCd51wva_nXA-E7sYUt8_sYvQP5I7Q3fXvELq71vye0X8DAAD__3INUdM">