[Ns-developers] static builds [take 3]
Gustavo Carneiro
gjcarneiro at gmail.com
Tue Apr 21 04:40:47 PDT 2009
-Wl,--whole-archive,-Bstatic
So simple! :o
+1 from me :-)
2009/4/21 Mathieu Lacage <mathieu.lacage at sophia.inria.fr>
> hi,
>
> Here is a very simple minimal patch which adds --enable-static on linux
> systems when python is disabled.
>
> bash-3.2$ ./waf configure -d optimized --enable-static --disable-python
> [...]
> bash-3.2$ ./waf
> [...]
> bash-3.2$ ./waf shell
> bash-3.2$ ./build/optimized/utils/bench-packets --n=10000000
> Running bench-packets with n=10000000
> a=1.98728e+06 packets/s
> b=3.97298e+06 packets/s
> c=2.60892e+06 packets/s
> d=1.20511e+06 packets/s
> bash-3.2$ ./waf configure -d optimized
> [...]
> bash-3.2$ ./waf
> [...]
> bash-3.2$ ./build/optimized/utils/bench-packets --n=10000000
> Running bench-packets with n=10000000
> a=1.78476e+06 packets/s
> b=3.465e+06 packets/s
> c=2.18866e+06 packets/s
> d=910581 packets/s
>
> I feel that this is good-enough for a large set of users, so, I would
> like to go ahead and merge this in: comments ?
>
> Mathieu
>
--
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
More information about the Ns-developers
mailing list