[Bug other/113147] Building a crosscompiler fails under MigW-W64/MSYS2 @ Windows 10

2023-12-30 Thread jdx at o2 dot pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113147 --- Comment #2 from Jan Dubiec --- (In reply to Andrew Pinski from comment #1) > Don't use `--disable-host-shared` basically. OK, removal of this option seems to solve the problem, but... I had an impression that the above set of options

[Bug other/113147] Building a crosscompiler fails under MigW-W64/MSYS2 @ Windows 10

2023-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113147 --- Comment #1 from Andrew Pinski --- # 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