Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
building-packages [2016/03/17 02:59] snacsnocbuilding-packages [2022/12/19 05:06] (current) snacsnoc
Line 4: Line 4:
  
 <code> <code>
-export LDFLAGS="-static"+export LDFLAGS="-s"
 export C_INCLUDE_PATH=/include:/usr/include export C_INCLUDE_PATH=/include:/usr/include
  
Line 27: Line 27:
  
 **pkg-config** **pkg-config**
 +
 Use pkgconf as a drop-in replacement instead, install via fbpkg Use pkgconf as a drop-in replacement instead, install via fbpkg
 <code> <code>
Line 33: Line 34:
  
 **Notes** **Notes**
 +
 For non-native compilations (using the musl toolchain) set ''--host=i486-musl-linux'' and enable any static compilation options (such as CFLAGS="static").  For non-native compilations (using the musl toolchain) set ''--host=i486-musl-linux'' and enable any static compilation options (such as CFLAGS="static"). 
  
 As well, for either types of builds setting ''CFLAGS="-s" LDFLAGS="-s"'' is a good idea to automatically have gcc to strip the libs and binaries. As well, for either types of builds setting ''CFLAGS="-s" LDFLAGS="-s"'' is a good idea to automatically have gcc to strip the libs and binaries.
  
-A mirror of all the packages tars are available here: http://snacklinux.org/tars/+A mirror of all the packages tars are available here: http://snacklinux.geekness.eu/tars/