How to get rid of compiler version in library names?

Hi, I just installed Boost and noticed the library names all have the compiler/boost version in the file name, e.g. gcc41. libboost_date_time-gcc41-mt-1_39.a The program I'm trying to compiler only looks for the library name, e.g. libboost_date_time-mt.a. My error: error: Unable to find file or target named error: '/usr/lib/libboost_date_time-mt.a' error: referred from project at error: '.' How can I make boost install using the library names without compiler name/boost version? Thanks! -- View this message in context: http://old.nabble.com/How-to-get-rid-of-compiler-version-in-library-names--t... Sent from the Boost - Users mailing list archive at Nabble.com.

AMDG dutchman1 wrote:
I just installed Boost and noticed the library names all have the compiler/boost version in the file name, e.g. gcc41. libboost_date_time-gcc41-mt-1_39.a
The program I'm trying to compiler only looks for the library name, e.g. libboost_date_time-mt.a. My error: error: Unable to find file or target named error: '/usr/lib/libboost_date_time-mt.a' error: referred from project at error: '.'
How can I make boost install using the library names without compiler name/boost version?
Compile Boost with --layout=tagged. In Christ, Steven Watanabe

Steven Watanabe wrote:
AMDG
dutchman1 wrote:
I just installed Boost and noticed the library names all have the compiler/boost version in the file name, e.g. gcc41. libboost_date_time-gcc41-mt-1_39.a
The program I'm trying to compiler only looks for the library name, e.g. libboost_date_time-mt.a. My error: error: Unable to find file or target named error: '/usr/lib/libboost_date_time-mt.a' error: referred from project at error: '.'
How can I make boost install using the library names without compiler name/boost version?
Compile Boost with --layout=tagged.
And use Boost 1.41, I think. This option is not available in 1.39 - Volodya
participants (3)
-
dutchman1
-
Steven Watanabe
-
Vladimir Prus