Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
building-packages [2025/02/22 06:12] snacsnocbuilding-packages [2025/02/22 06:12] (current) snacsnoc
Line 36: Line 36:
  
 For non-native compilations (using the musl toolchain) set ''--host=i486-musl-linux'' and enable any static compilation options (such as '' CFLAGS="-static" LDFLAGS="-static" '').  For non-native compilations (using the musl toolchain) set ''--host=i486-musl-linux'' and enable any static compilation options (such as '' CFLAGS="-static" LDFLAGS="-static" ''). 
 +
 Optimize for i486 CPUs: '' CFLAGS="-march=i486 -mtune=i486 -Os -fomit-frame-pointer" '' Optimize for i486 CPUs: '' CFLAGS="-march=i486 -mtune=i486 -Os -fomit-frame-pointer" ''
 +
 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.geekness.eu/tars/ A mirror of all the packages tars are available here: http://snacklinux.geekness.eu/tars/