Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packages [2023/11/18 17:24] – [Installing packages] snacsnoc | packages [2025/03/01 05:49] (current) – snacsnoc | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Installing packages ====== | ===== Installing packages ====== | ||
For a list of all packages available see: http:// | For a list of all packages available see: http:// | ||
+ | |||
'' | '' | ||
Line 76: | Line 77: | ||
CC=i486-linux-musl-gcc CROSS_COMPILE=i486-linux-musl- ./configure --disable-zlib --host=i486-linux-musl --enable-static | CC=i486-linux-musl-gcc CROSS_COMPILE=i486-linux-musl- ./configure --disable-zlib --host=i486-linux-musl --enable-static | ||
CC=i486-linux-musl-gcc make PROGRAMS=" | CC=i486-linux-musl-gcc make PROGRAMS=" | ||
+ | | ||
+ | ** file 5.44 ** (perl is needed) | ||
+ | autoreconf -vfi | ||
+ | CC=i486-linux-musl-gcc CFLAGS=" | ||
+ | | ||
+ | ** gpm 1.20.7 ** | ||
+ | Needed patches: https:// | ||
+ | ./configure --prefix=/ | ||
===== Native ===== | ===== Native ===== | ||
Line 102: | Line 111: | ||
**[[https:// | **[[https:// | ||
- | | + | make CFLAGS="-s -static" |
Example usage: ln -s / | Example usage: ln -s / | ||
Line 163: | Line 172: | ||
make | make | ||
make DESTDIR=/ | make DESTDIR=/ | ||
+ | #6.2 | ||
+ | #skip c++ checks | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | # fix install ownership | ||
+ | sed -i '/ | ||
+ | | ||
+ | make -C ncurses | ||
+ | # make symlink | ||
+ | ln -s / | ||
Line 232: | Line 254: | ||
** [[http:// | ** [[http:// | ||
- | Get this patch http:// | + | Get this patch http:// |
patch -p1 -i ./ | patch -p1 -i ./ | ||
| | ||
make | make | ||
make DESTDIR=/ | make DESTDIR=/ | ||
+ | Note: you may have to symlink runtime libs: | ||
+ | ln -sf /lib/crt1.o / | ||
+ | ln -sf /lib/crti.o / | ||
+ | ln -sf /lib/crtn.o / | ||
//Note: Use the ' | //Note: Use the ' | ||
Line 293: | Line 319: | ||
make DESTDIR=/ | make DESTDIR=/ | ||
</ | </ | ||
+ | |||
+ | | ||
+ | ./configure --prefix=/ | ||
+ | make CFLAGS=" | ||
+ | make DESTDIR=/ | ||
+ | | ||
+ | **[[https:// | ||
+ | ./configure --prefix=/ | ||
+ | make | ||
+ | make install MAN1DIR= MAN5DIR= MAN8DIR= DESTDIR=/ | ||
+ | | ||
+ | **[[https:// | ||
+ | | ||
+ | |||
+ | **[[http:// | ||
+ | gcc -static -s atlantic.c -o atlantic |