Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Mar 2006 11:43:55 +0200
From:      Divacky Roman <xdivac02@stud.fit.vutbr.cz>
To:        hackers@freebsd.org
Subject:   precompiled header
Message-ID:  <20060326094354.GA34169@stud.fit.vutbr.cz>

next in thread | raw e-mail | index | archive | help
hi

why fbsd dont use precompiled headers during buildword/buildkernel? I just did
very naive test (which doesnt work for a lot of the headers)

cd /sys; find . -name \*.h -exec gcc -x c-header {} \;

time buildkernel

and delete those compiled headers and time buildkernel again

there is a speedup for the precompiled-headers case (but not very big) and I am sure if it 
was carefully integrated into the build (ie. compiling all headers) the
difference might be quite visible...

thnx

roman




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060326094354.GA34169>