Details on this package are located in Section 10.54.2, “Contents of Bin86.”
The Bin86 package contains an assembler and linker to produce 16 or 32-bit 8086 machine code.
We are building Bin86 so that we can compile Lilo. Both as86 and ld86 need to run on the host system to assemble x86_64 code. We cannot compile the whole package like this, but fortunately these two programs are the only parts we require.
This patch updates Bin86 to compile on x86_64:
patch -Np1 -i ../bin86-0.16.17-x86_64-1.patch
The Bin86 package does not contain a configure script. Natively compile only the necessary parts with:
make CC=gcc -C as as86 make CC=gcc -C ld ld86
Install the assembler and linker where they will be on the PATH when we build Lilo, using prefixes to show that their output is not for a native system.
install -v -m 755 -s as/as86 /cross-tools/bin/${CLFS_TARGET}-as86 install -v -m 755 -s ld/ld86 /cross-tools/bin/${CLFS_TARGET}-ld86
Details on this package are located in Section 10.54.2, “Contents of Bin86.”