[Ns-bugs] [Bug 1230] Include statements with "ns3/" in their path are not working on darwin

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Tue Aug 2 02:40:11 PDT 2011


https://www.nsnam.org/bugzilla/show_bug.cgi?id=1230

--- Comment #5 from Mathieu Lacage <mathieu.lacage at gmail.com> 2011-08-02 05:40:10 EDT ---
which means that all that is missing for the command-line to work is a number
after -current_version: what is going on here is that the -Idebug is swallowed
by the linker to produce a version number. Why on earth did they not use -Wl to
mark these stupid options. Fuck apple.

(In reply to comment #4)
> These are actually linker options: I suspect the osx engineers are too lazy to
> use -Wl :/
> 
>      -compatibility_version number
>                  Specifies the compatibility version number of the library. 
> When a library is loaded by dyld, the compati-
>                  bility version is checked and if the program's version is
> greater that the library's version, it is an
>                  error.  The format of number is X[.Y[.Z]] where X must be a
> positive non-zero number less than or equal to
>                  65535, and .Y and .Z are optional and if present must be
> non-negative numbers less than or equal to 255.
>                  If the compatibility version number is not specified, it has a
> value of 0 and no checking is done when the
>                  library is used.  This option is also called
> -dylib_compatibility_version for compatibility.
> 
>      -current_version number
>                  Specifies the current version number of the library. The
> current version of the library can be obtained
>                  programmatically by the user of the library so it can
> determine exactly which version of the library it is
>                  using.  The format of number is X[.Y[.Z]] where X must be a
> positive non-zero number less than or equal to
>                  65535, and .Y and .Z are optional and if present must be
> non-negative numbers less than or equal to 255.
>                  If the version number is not specified, it has a value of 0. 
> This option is also called -dylib_cur-
>                  rent_version for compatibility.

-- 
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list