[Ns-developers] Compilation on MinGW-x64
jpelkey at gatech.edu
Wed Apr 28 06:34:36 PDT 2010
Unfortunately as an "unofficially supported" platform, we are too late
in the release cycle to fix this one. I would be tempted to do it if
the patch was the only thing needed, but it looks like a different WAF
binary is needed too. May 3, the dev branch is open again, and I
recommend reviving this discussion if mingw is something you would
like to see building ns-3 again.
On Wed, Apr 28, 2010 at 3:03 AM, <vincent at clarinet.u-strasbg.fr> wrote:
> Hi Josh,
> Unfortunately, I still got the -fPIC error. I see in our waf's gxx.py that
> it still has the check for "32-bit only" that remove the -fPIC.
> By the way I have found 3 compilation problems in utils/test-runner.cc:
> - missing limits.h for PATH_MAX;
> - mkdir on Windows does not take two parameters (name and rights) but just
> one (name);
> - srandom()/random() do not exists on MinGW but can be replaced by
> Here a patch that address these problems. If OK I will commit it.
> Best regards,
>> I know this thread is a little dated, but have you tried the most
>> recent ns-3-dev version with mingw? Does it still error out? We
>> recently updated to a newer WAF.
>> Josh Pelkey
>> ns-3.8 Release Manager
>> 2010/3/24 Sébastien Vincent <vincent at clarinet.u-strasbg.fr>:
>>> Hi all,
>>> I try to build ns-3 on Windows 7 64-bit with MinGW-x64 and I have a
>>> (which turns into error) about using -fPIC. On Windows 32-bit,
>>> runs fine.
>>> I find in
>>> in function gxx_modifier_win32:
>>> if dest_arch=='x86':
>>> If I remove the "if" test, now compilation succeed.
>>> I am not a waf expert but I think we should rebuild the waf binary with
More information about the Ns-developers