Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
12 Views

Standard way to identify the toolset in library names?

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.

0 Kudos
3 Replies
Highlighted
12 Views

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.

0 Kudos
Highlighted
12 Views

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

 

0 Kudos
Highlighted
Beginner
12 Views

Thank you very much for your answers gentlemen!

0 Kudos