[Ns-developers] Upgrade ns-3 to waf 1.6

YunQiang Su wzssyqa at gmail.com
Sun Sep 11 08:49:25 PDT 2011


2011/9/11 Vedran Miletić <rivanvx at gmail.com>:
> 2011/9/11 YunQiang Su <wzssyqa at gmail.com>:
>> why you disagree having the command to static in wscript of every module.
>> We can do it like:
>>  if ENABLE_SHARED:
>>               ......
>>  if ENABLE_STATIC:
>>            ..............
>> At least the Debian Policy requires it.
>>
>> Some users may prefer compiling their program staitic to make it work
>> without libns3 installed.
>> For packager, I must consider for both of these users.
>> For binary distribution, it doesn't disturb users, the compilation is done by
>> compilation server.
>>
>> For the users that who want to build themselves, you can supply an option to
>> not compile static or shared.
>> I still prefer add some codes into
>> src/*/wscript
>>
>
> It's better to have less hacks and make waf upgrades easier. If what
> required one command now requires two, so be it.
>
I don't think its hack, the the most usual usage.
and what we do now is hack.
> However, YunQiang Su I don't see exactly what was possible before that
> isn't possible now. Could you please explain what part of your package
> got broken or what new build system doesn't do right?
>
I patched it for the previous version.
Yes, I can patch it now, still.

But we added --enable-static-and-shared, but it does NOT work.
Just so simple.

> Vedran
>



-- 
YunQiang Su



More information about the Ns-developers mailing list