[Ns-developers] Upgrade ns-3 to waf 1.6
gjcarneiro at gmail.com
Wed Sep 14 04:07:57 PDT 2011
On Wed, Sep 14, 2011 at 07:15, Mathieu Lacage <mathieu.lacage at gmail.com>wrote:
> On Wed, Sep 14, 2011 at 04:19, YunQiang Su <wzssyqa at gmail.com> wrote:
> > Great job!!!
> > Still static and shared libraries problem......
> I see that you complain about this a lot but I still do not understand
> what exactly is problematic for you.
> > Image that, I build ns-3 static:
> > gcc `pkg-config --libs libns3-aodv` `pkg-config gtk-2.0`, will the
> > `gtk-2.0` foobar.cc
> > Will gtk-2.0 be linked static?
> I would guess yes. It should be trivial to add -Bdynamic at the end of
> the corresponding .pc output though.
The question of YunQiang I guess is whether the .pc files should indicate
static or dynamic flags. If there is none of the flags, the end user is
free to select between shared and static linkage without changing .pc file.
Otherwise you'd need two pc files for each module in case both shared and
static ns-3 is installed.
> Mathieu Lacage <mathieu.lacage at gmail.com>
Gustavo J. A. M. Carneiro
INESC Porto, UTM, WiN, http://win.inescporto.pt/gjc
"The universe is always one step beyond logic." -- Frank Herbert
More information about the Ns-developers