[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] Trying to use tcc on arm router.
From: |
Lance Fredrickson |
Subject: |
[Tinycc-devel] Trying to use tcc on arm router. |
Date: |
Thu, 15 Aug 2019 08:21:13 -0600 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
I'm trying to compile tcc to run on my arm based router. Using my
project (tomatoware) I've got gcc9 and llvm/clang8 working and can
natively compile c/c++ code, and just for fun am looking at what other
compilers I can get working. My sysroot lives in /mmc. I'm using the
latest uClibc-ng, which I'm not sure if tcc has supported this new
branch of development. I tried compiling from latest git at
https://repo.or.cz/w/tinycc.git
./configure \
--sysroot=/mmc \
--prefix=/mmc \
--elfinterp=/mmc/lib/ld-uClibc.so.1 \
--config-uClibc
make
make install
#simple hello world c program
root@R7000:~# tcc hello.c -o hello
In file included from hello.c:1:
In file included from /mmc/usr/include/stdio.h:71:
In file included from /mmc/usr/include/bits/uClibc_stdio.h:114:
In file included from /mmc/usr/include/bits/pthreadtypes.h:21:
In file included from /mmc/usr/include/endian.h:59:
In file included from /mmc/usr/include/byteswap.h:22:
In file included from /mmc/usr/include/bits/byteswap.h:1:
/mmc/usr/include/bits/byteswap-common.h:106: error: ';' expected (got
"__bswap_64")
armv7a (soft float)
Linux 2.6.36.4
uclibc-ng 1.0.31
gcc 9.1
Looks like tcc is still seeing some active development, so I'd thought
I'd give it a try.
thanks,
Lance
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] Trying to use tcc on arm router.,
Lance Fredrickson <=