[odb-users] How to install 32 bit version of odb/run time libraries

Boris Kolpackov boris at codesynthesis.com
Thu Sep 16 08:04:26 EDT 2021


V M, Naveen Kumar <naveen_kumar_v_m at baxter.com> writes:

> How do we install the odb and run time odb libraries for 32 bit
> architecture? I am using Odb_2.5.0 beta version and I would like
> to generate the libraries for 32bit architecture. I am following
> the steps mentioned here
>
> https://www.codesynthesis.com/products/odb/doc/install-build2.xhtml#linux-build2.

When creating the build configuration for runtime libraries, pass
config.cxx="g++ -m32":

$ bpkg create -d gcc-X cc         \
  config.cxx="g++ -m32"           \
  config.cc.coptions=-O3          \
  config.install.root=/usr/local  \
  config.install.sudo=sudo
  

This assumes that your C++ compiler has been built with the multi-
arch support and that the relevant 32-bit runtime libraries have
been installed.



More information about the odb-users mailing list