public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
* Glibc does not support MinGW-w64 Cross Toolchain for x86_64-linux-gnu
@ 2020-10-06 10:05 sotrdg sotrdg
  2020-10-06 12:11 ` Adhemerval Zanella
  0 siblings, 1 reply; 2+ messages in thread
From: sotrdg sotrdg @ 2020-10-06 10:05 UTC (permalink / raw)
  To: libc-help

unlvs@DESKTOP-DFHPDC1 MINGW64 ~/gcc_toolchain_build/glibc_x86_64
$ ../glibc/configure --prefix=$PREFIX --target=$TARGET --with-headers=/home/unlvs/gcc_toolchain_build/x86_64-linux/inclu
de libc_cv_forced_unwind=yes
configure: loading site script /mingw64/etc/config.site
checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for readelf... readelf
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ can link programs... yes
checking for sysdeps preconfigure fragments... aarch64 alpha arc arm csky hppa i386 m68k microblaze checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
mips nios2 powerpc riscv s390 sh checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/grep -E
sparc x86_64 checking whether gcc compiles in -mx32 mode by default... no

configure: error:
*** The GNU C library is currently unavailable for this platform.
*** If you are interested in seeing glibc on this platform visit
*** the "How to submit a new port" in the wiki:
***   https://sourceware.org/glibc/wiki/#Development
*** and join the community!


Any possibility to support this?

Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Glibc does not support MinGW-w64 Cross Toolchain for x86_64-linux-gnu
  2020-10-06 10:05 Glibc does not support MinGW-w64 Cross Toolchain for x86_64-linux-gnu sotrdg sotrdg
@ 2020-10-06 12:11 ` Adhemerval Zanella
  0 siblings, 0 replies; 2+ messages in thread
From: Adhemerval Zanella @ 2020-10-06 12:11 UTC (permalink / raw)
  To: sotrdg sotrdg, libc-help



On 06/10/2020 07:05, sotrdg sotrdg via Libc-help wrote:
> unlvs@DESKTOP-DFHPDC1 MINGW64 ~/gcc_toolchain_build/glibc_x86_64
> $ ../glibc/configure --prefix=$PREFIX --target=$TARGET --with-headers=/home/unlvs/gcc_toolchain_build/x86_64-linux/inclu
> de libc_cv_forced_unwind=yes
> configure: loading site script /mingw64/etc/config.site
> checking build system type... x86_64-w64-mingw32
> checking host system type... x86_64-w64-mingw32
> checking for gcc... gcc
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for readelf... readelf
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking whether g++ can link programs... yes
> checking for sysdeps preconfigure fragments... aarch64 alpha arc arm csky hppa i386 m68k microblaze checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> mips nios2 powerpc riscv s390 sh checking for grep that handles long lines and -e... (cached) /usr/bin/grep
> checking for egrep... (cached) /usr/bin/grep -E
> sparc x86_64 checking whether gcc compiles in -mx32 mode by default... no
> 
> configure: error:
> *** The GNU C library is currently unavailable for this platform.
> *** If you are interested in seeing glibc on this platform visit
> *** the "How to submit a new port" in the wiki:
> ***   https://sourceware.org/glibc/wiki/#Development
> *** and join the community!
> 
> 
> Any possibility to support this?

There is no upcoming plan to support and it would require extensible work
to port glibc to run on Windows.  Afaik MinGW-w64 uses MSVCRT library 
(which is part of the Windows Kits provided by Microsoft itself) and you
can integrate some missing POSIX facilities with gnulib.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-06 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-06 10:05 Glibc does not support MinGW-w64 Cross Toolchain for x86_64-linux-gnu sotrdg sotrdg
2020-10-06 12:11 ` Adhemerval Zanella

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).