- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear forum users,
Is there a default way to identify the toolset (in my case Intel Parallel Studio XE 2016) in the name of a library file that was build with that toolset? As an example, for Microsoft Visual Studio 2015 such an identification is "-vc140" (yielding library names like "libboost_atomic-vc140-mt-1_60.lib") . I'm looking for a similar way to include a reference to the Fortran toolset in my library files. I'd expect something like "-xe2016".
Thanks,
Michiel.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, and any such convention is specific to the project. BOOST probably does this because MSVC code tends to be tied to the particular version of Visual Studio used to build it. This isn't the case for Intel Fortran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To insert your own comment try:
!DIR$ OBJCOMMENT USER: 'Put your text here'
The IVF documentation only lists the comment type LIB, but it may include all comment types:
compiler, exestr, lib, linker, user
This may also be suitable for your purposes
!DIR$ OBJCOMMENT COMPILER
You could also add linker options to decorate your .lib, .dll with comments
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much for your answers gentlemen!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page