Overriding library name mask

Category |  Purpose |  Intended Audience |  Applicable to |  Description |  Limitations |  See also


Category:

Top

Miscellaneous


Applicable to:

Top

ObjecTime 4.4


Purpose:

Top

Explain how to override the library name search mask for user-specified libraries when the Absolute Library Paths is enabled in the Compilation Setup or Environment Browser.


Intended Audience:

Top

Users of linkers/libraries for some of the supported RTOSs (e.g. MRI's lib68k for pSOS)


Description:

Top

When Absolute Library Paths is enabled it is possible to override the library naming convention for a library. This may be required for two reasons:

  1. When the Absolute Library Paths is enabled the toolset searches for the libraries specified in the Libraries/Inclusions list and must there for now how to match an entry to an actual file name.
     
  2. Some of the development sets (e.g. MRI) we support may use a different library naming conventions.

The default convention is that which is used by UNIX linkers ('lib.a'). This can be overridden by setting a shell environment variable of OBJECTIME_LIBRARY_MASK to the desired convention (searching mask) before starting the ObjecTime session. For example, for a library created from a MRI's librarian (lib68k) the mask would be:

    setenv OBJECTIME_LIBRARY_MASK '.lib'

This will cause the search to use this name mask, and also lead to the code generators outputting the library name in this fashion in the absolute path. Note that any specified libraries that did fall under the default convention will not be found.


Limitations:

Top

None


See also:

Top

None


 

Copyright © 1999, ObjecTime Limited.