Building base system with CFLAGS=-static

Erik Norgaard norgaard at locolomo.org
Thu Nov 25 04:19:56 PST 2004


Hi,

I am trying to build the base system statically linked to create an 
installation root file system.

I have tried "make CFLAGS=-static buildworld", which fails. Building 
each program separately, in most cases it works with "make 
CFLAGS=-static" but some like systinstall, sh, csh and init fails.

What is the suggested method to create a static built base system?
Alternatively, how do I trace which libraries are used/needed?

Thanks, Erik

-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2


More information about the freebsd-questions mailing list