2010/11/7 weining hao <weininghao@hotmail.com>
Hi,

I have installed boost 1.33-1 in SLES (SUSE Linux Enterprise Server) 11 manually by bjam 3.12, and in SLES10 sp2 via YAST2 (with the defalut bjam 3.1.4). I found that the installed libraries in SLES 11 are always with the postfix '-gcc', which is not appeared in the libraries in SLES 10 sp2 (For example, "libboost_filesystem-gcc.o" in SLES 11, but "libboost_filesystem.o" in SLES10 sp2). The '-gcc' also exists in the library name in SLES 9.3.

Is it configurable to be with or without '-gcc', and in which file? Is it related to the SLES version, or bjam version?

Hello Weining,

I use boost 1.43.0 in Gentoo.Bjam version is:
Boost.Build V2 (Milestone 12)
Boost.Jam 03.1.18

From bjam --help:
  --layout=<layout>       Determines whether to choose library names
                          and header locations such that multiple
                          versions of Boost or multiple compilers can
                          be used on the same system.

                              versioned - Names of boost binaries
                              include the Boost version number, name and
                              version of the compiler and encoded build
                              properties.  Boost headers are installed in a
                              subdirectory of <HDRDIR> whose name contains
                              the Boost version number.

                              tagged -- Names of boost binaries include the
                              encoded build properties such as variant and
                              threading, but do not including compiler name
                              and version, or Boost version. This option is
                              useful if you build several variants of Boost,
                              using the same compiler.

                              system - Binaries names do not include the
                              Boost version number or the name and version
                              number of the compiler.  Boost headers are
                              installed directly into <HDRDIR>.  This option
                              is intended for system integrators who are
                              building distribution packages.

                          The default value is 'versioned' on Windows, and
                          'system' on Unix.

You can also set it in project-config.jam, for example add line:
option.set layout : tagged ;

I don't know if this was the same in the old version of bjam You are using.

Regards, Kris.