Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
building-packages [2015/05/07 00:51] – created snacsnoc | building-packages [2022/12/19 05:06] (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 '' | ||
Line 22: | Line 39: | ||
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:// |