small (very ) compilation speedup
andreas moroder
claudiamoroder at st-ulrich.suedtirol.net
Thu Feb 21 12:21:05 GMT 2002
Hello,
not all of us have a fast machine ( I have a slow PII 350 ) so even a small
speedup of compilation is welcome. Here my proposal.
There are files in samba that are compiled two times, one time as standard
obj, the second one as PIC code.
What about to change the makefile to do the following steps:
1. Compile with -E -oname.i to create a precompiled file
2. compile this precompiled file as .o and .po
The speedup while testing with reply.c is 5 %, but maybe it's worth the effort
Bye
Andreas
More information about the samba-technical
mailing list