vowstar / k210-linux-nommu

K210 run linux nommu (From Damien Le Moal's patch)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tcc make failed

freedom195 opened this issue · comments

Hi , I am wonderful with this project using k210 with linux.

But when I make the tcc compiler
`root@ubuntu:/k210/linux/k210-linux-nommu/tinycc# make
make[1]: Entering directory '/k210/linux/k210-linux-nommu/tinycc/lib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/k210/linux/k210-linux-nommu/tinycc/lib'
makeinfo --no-split --html --number-sections -o tcc-doc.html tcc-doc.texi || true
/bin/sh: 1: makeinfo: not found
makeinfo tcc-doc.texi || true
/bin/sh: 1: makeinfo: not found

root@ubuntu:/k210/linux/k210-linux-nommu/tinycc# make DESTDIR=../rootfs_k210 install
mkdir -p "../rootfs_k210/usr/bin" && install -m755 tcc "../rootfs_k210/usr/bin"
mkdir -p "../rootfs_k210/usr/lib/tcc" && install -m644 libtcc1.a bt-exe.o bt-log.o "../rootfs_k210/usr/lib/tcc"
mkdir -p "../rootfs_k210/usr/lib/tcc/include" && install -m644 ./include/*.h ./tcclib.h "../rootfs_k210/usr/lib/tcc/include"
mkdir -p "../rootfs_k210/usr/lib" && install -m644 libtcc.a "../rootfs_k210/usr/lib"
mkdir -p "../rootfs_k210/usr/include" && install -m644 ./libtcc.h "../rootfs_k210/usr/include"
mkdir -p "../rootfs_k210/usr/share/man/man1" && install -m644 tcc.1 "../rootfs_k210/usr/share/man/man1"
`
I think it's wrong and I don't know how to do with it .

And I need to removed the -lpthread , but I don't know which file I should to modify ,sorry ,I am wonderful with it and I am a linux beginner .

Please make sure

DEBIAN_FRONTEND=noninteractive apt-get update -qq && \
DEBIAN_FRONTEND=noninteractive apt-get install -yq \
    build-essential \
    device-tree-compiler \
    bison \
    flex \
    file \
    git \
    curl \
    wget \
    cpio \
    python \
    unzip \
    rsync \
    bc

If your ubuntu is very old, you may also need

sudo apt-get install texinfo

or, upgrade ubuntu to at latest 20.04

have been installed correctly.