[External]Re: [odb-users] New distribution pkgs for ODB
Tenneti, Rohith
Rohith.Tenneti2 at carrier.com
Tue Mar 28 15:48:28 EDT 2023
How would one specify a prefix in the build2.config options when cross compiling for another target so that the build/compile is able to locate the headers and libs for the cross compile of libodb and libodb-sqlite?
Thanks,
Rohith
-----Original Message-----
From: Boris Kolpackov <boris at codesynthesis.com>
Sent: Tuesday, March 28, 2023 6:59 AM
To: Tenneti, Rohith <Rohith.Tenneti2 at carrier.com>
Cc: odb-users at codesynthesis.com; Montero, Antonio <antonio.montero at carrier.com>
Subject: [External]Re: [odb-users] New distribution pkgs for ODB
[Some people who received this message don't often get email from boris at codesynthesis.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
Tenneti, Rohith <Rohith.Tenneti2 at carrier.com> writes:
> Could you share the distribution packages for odb, libodb, and
> libodb-sqlite for 2.5.0-b.23.
>
> Even though I followed the INSTALL-GIT and INSTALL instructions on
> each package I was not able to 'make dist' for any of the relevant
> interested pkgs ( odb, libodb, libodb-sqlite ).
The recommended way to build ODB from source is described here:
https://codesynthesis.com/products/odb/doc/install-build2.xhtml
> What we need:
>
> Distribution pkgs for each of the following components from .git tag
> or latest master if stable. ( we are looking for odb dist source and
> libs that support -std=c++17 )
If you would like to build libodb and libodb-sqlite with -std=c++17 (by default they are built with the latest available standard supported by the compiler that you are using), you can add config.cxx.std=17 to the `bpkg create` command on the "Building ODB Runtime Libraries" step in the above instructions.
Let me know if you run into any issues.
More information about the odb-users
mailing list