2、configure

glibc的configure要求在与源码路径不同的地方运行,可以新建一个目录然后使用绝对路径运行configure

/home/huey/Test/glibc-2.25/configure \
CC=arm-none-linux-gnueabi-gcc \
CXX=arm-none-linux-gnueabi-g++  \
--prefix=/home/huey/Dev/Arm/glibc \
--target=arm-linux --host=arm-linux

3、make

make install

4、常见问题

a\ gawk

sudo apt-get install gawk
“ORC is Nim’s all-new cycle collector based on ARC. It can be considered a full-blown GC since it includes a local tracing phase (contrary to most other tracing GCs which do global tracing). ORC is what you should use when working with Nim’s async because it contains cycles that need to be dealt with.”看起来ORC是个好东西,能解决ARC不回收循环引用的问题。