Specifying the c++ compiler version for certain modules.

37 views
Skip to first unread message

Kiran Mathews

unread,
Jul 20, 2017, 6:43:57 AM7/20/17
to ns-3-users
Hallo everybody,

I want to compile a certain module which uses c++ 14 features in NS3 (3.24-1 or higher). For the this, I tried the following methods
1, by adding the CXX flags in the MAKEFILE....,
2, Enabling CXX c++14 flag inside waf build script...

But none of them worked out. '


Can someone suggest, how could I do it?



pdbarnes

unread,
Jul 21, 2017, 11:13:21 AM7/21/17
to ns-3-users
I think you can set the compiler at the time you configure waf:

$ CXX=... ./waf configure ...

Peter

pdbarnes

unread,
Jul 21, 2017, 11:14:50 AM7/21/17
to ns-3-users
Sorry I meant to say

$ CXX=... CXXFLAGS=... ./waf configure ...

Peter

Kiran Mathews

unread,
Jul 21, 2017, 11:35:13 AM7/21/17
to ns-3-users
I tired it,but its not working.
Reply all
Reply to author
Forward
0 new messages