User Tools

Site Tools


qLinux
… a distribution study


<< Prev
M4

Next >>
Flex


Bc-5.0.0

Reference: 8.13. Bc-5.0.0. Fix the build system:

patch -Np1 -i bc-5.0.0-qlnx-20220202.patch

This package builds and installs the common way. Against the book we have  CC=musl-gcc  (already set):

CC=gcc INCLUDEDIR=/qlnx/gcc \
./configure --prefix=/qlnx \
            --mandir=/qlnx/man

The  CC=gcc  have to be set, because bc wants to use c99 which is not available yet (needs investigation).

Build and install bc:

make
make install

verify the loader:

readelf -l `which bc`

<< Prev
M4

        

Next >>
Flex