From: Michael Jeanson via lttng-dev <lttng-dev@lists.lttng.org>
To: "Seidl, Aron" <aron.seidl@zeiss.com>,
"lttng-dev@lists.lttng.org" <lttng-dev@lists.lttng.org>
Subject: Re: [lttng-dev] Building the Babeltrace-Libary for Windows?
Date: Fri, 3 Nov 2023 10:21:21 -0400 [thread overview]
Message-ID: <a822b4bf-47a8-4396-a82e-af8589e165b8@efficios.com> (raw)
In-Reply-To: <AS8P190MB10771A3EB2AFC92E4540399E88A5A@AS8P190MB1077.EURP190.PROD.OUTLOOK.COM>
On 2023-11-03 07 h 48, Seidl, Aron via lttng-dev wrote:
> Hello guys,
>
> after it was finally possible to debug Babeltrace properly, I step onto
> a next problem.
>
> I apologize in advance, but I’m new to Linux development and even more
> to cross compiling.
>
> Is it even possible to compile libbabeltrace for Windows and I have to
> dig deeper, trying to understand it better, or did I just waste 3 days
> of my life trying the impossible?
>
> Maybe you guys know a little more.
>
> FYI: I installed every Mingw-package on my machine, and I try to
> configure the project as follows:
>
> ./configure --prefix=$PWD/install --host=x86_64-w64-mingw64
> --enable-built-in-plugins --enable-static --disable-shared
>
> The configure-phase runs well, but the make process fails.
>
> I hope it is the last time I have to ask you some questions. I wish you
> a great weekend!
>
> Sincerely,
>
> Aron
Hi,
It should be technically possible to cross-compile babeltrace2 with
Mingw on Linux but it was never tested, so a lot a small fixes to the
build system might be required.
What is tested however is building with Mingw in an MSYS2 [1]
environment on a Windows host. You can have a look at the CI job [2] for
the details, the configuration including the build script is publicly
readable in "View Configuration".
Cheers,
Michael
[1] https://www.msys2.org/
[2] https://ci.lttng.org/view/Babeltrace/job/babeltrace_master_winbuild/
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
next prev parent reply other threads:[~2023-11-03 14:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-03 11:48 Seidl, Aron via lttng-dev
2023-11-03 14:21 ` Michael Jeanson via lttng-dev [this message]
2023-11-06 7:43 ` Seidl, Aron via lttng-dev
2023-11-07 15:57 ` Michael Jeanson via lttng-dev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a822b4bf-47a8-4396-a82e-af8589e165b8@efficios.com \
--to=lttng-dev@lists.lttng.org \
--cc=aron.seidl@zeiss.com \
--cc=mjeanson@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox