public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/113147] Building a crosscompiler fails under MigW-W64/MSYS2 @ Windows 10 Date: Tue, 26 Dec 2023 19:30:30 +0000 [thread overview] Message-ID: <bug-113147-4-QHHDlCJt7g@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-113147-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113147 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- # Use the "pic" build of libiberty if --enable-host-shared or --enable-host-pie, # unless we are building for mingw. LIBIBERTY_PICDIR=$(if $(findstring mingw,$(target)),,pic) ifneq ($(enable_host_shared)$(enable_host_pie),) LIBIBERTY = ../libiberty/$(LIBIBERTY_PICDIR)/libiberty.a else LIBIBERTY = ../libiberty/libiberty.a endif ifeq ($(enable_host_shared),yes) BUILD_LIBIBERTY = $(build_libobjdir)/libiberty/$(LIBIBERTY_PICDIR)/libiberty.a else BUILD_LIBIBERTY = $(build_libobjdir)/libiberty/libiberty.a endif Don't use `--disable-host-shared` basically. Though the above check for mingw really should be the host rather than the target ...
next prev parent reply other threads:[~2023-12-26 19:30 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-12-26 15:19 [Bug other/113147] New: " jdx at o2 dot pl 2023-12-26 19:30 ` pinskia at gcc dot gnu.org [this message] 2023-12-30 9:23 ` [Bug other/113147] " jdx at o2 dot pl
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=bug-113147-4-QHHDlCJt7g@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).