Bugzilla – Full Text Bug Listing |
Summary: | Samples/Examples linked shared sometimes do nothing or hang | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Craig Dowell <craigdo> |
Component: | samples | Assignee: | ns-bugs <ns-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | gjcarneiro, tomh |
Priority: | P1 | ||
Version: | pre-release | ||
Hardware: | PC | ||
OS: | Windows |
Description
Craig Dowell
2007-06-19 17:07:43 UTC
Why do we even have to support cygwin if ns-3 builds and runs fine with mingw? mingw is better because it doesn't use a fake libc and therefore produces native exe that requires no dll. *** Bug 31 has been marked as a duplicate of this bug. *** Is this is fixed already? I mean, this is the problem of the DLLs not having the ns3 prefix, right? If so, should be fixed now. If it's another problem then by all means leave it open. The prefix fix led to the discovery of another problem with shared libraries in Cygwin, where Craig initiated a small private thread on the topic: "The problem is that a lot of other code relies on this specific c++ usage pattern where a class static member method contains a function-scope static variable and we really cannot convert these function-scope static variables to class static member variables because of the initialization ordering problems I alluded to earlier. And even if we did this, we would have to do this dreadful macro game to avoid multiple definitions." Mathieu told me that he is looking at solutions to this problem. I think this is fixed already? this was fixed in previous release by Mathieu. |