dslm4515 / CMLFS

Clang-Built Musl Linux From Scratch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Section 3-chroot/072-grub - need check mess in re-link (needed as.gnu also)

Cerberios opened this issue · comments

In section 3-chroot/072-grub

Build still tries to use clang. Temporarily switch to GCC
mv -v /usr/bin/{gcc,gcc.clang}
ln -sv gcc.gnu /usr/bin/gcc

There a little mess.

  1. It shows "/usr/bin/gcc - no such file"
    Need to add ln -sv gcc.gnu /usr/bin/gcc
  2. Reg. this instruction, configure fails with "wrong assembler" - it looking at "as from clang", not GNU
    I added ln -sv /usr/bin/as.gnu /usr/bin/as
    After these fixes configuration and compile OK

Read #23