Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| building-packages [2015/05/07 00:54] – snacsnoc | building-packages [2025/02/22 06:12] (current) – snacsnoc | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Building packages ====== | ====== Building packages ====== | ||
| - | For native compilations export CC to '' | + | Example build flow: |
| < | < | ||
| - | export | + | export |
| export C_INCLUDE_PATH=/ | export C_INCLUDE_PATH=/ | ||
| + | |||
| tar xvf myfancysoftware-1.0.tar.gz && cd myfancysoftware-1.0 | tar xvf myfancysoftware-1.0.tar.gz && cd myfancysoftware-1.0 | ||
| Line 16: | Line 17: | ||
| </ | </ | ||
| + | If configure complains about /lib/cpp failing sanity check, try this: | ||
| + | |||
| + | < | ||
| + | fbpkg install ucpp | ||
| + | ln -sf / | ||
| + | export CPPFLAGS=" | ||
| + | </ | ||
| + | and recompile. | ||
| + | |||
| + | **pkg-config** | ||
| + | |||
| + | Use pkgconf as a drop-in replacement instead, install via fbpkg | ||
| + | < | ||
| + | ln -sf / | ||
| + | </ | ||
| + | |||
| + | **Notes** | ||
| + | For non-native compilations (using the musl toolchain) set '' | ||
| - | For non-native compilations (using the musl toolchain) set '' | + | Optimize for i486 CPUs: '' |
| As well, for either types of builds setting '' | As well, for either types of builds setting '' | ||
| - | A mirror of all the packages tars are available here: http:// | + | A mirror of all the packages tars are available here: http:// |