[Mingw-users] (no subject)

Back to archive index
Eli Zaretskii eliz****@gnu*****
Sun Jun 9 20:03:56 JST 2019


> From: Zvi Vered <vered****@gmail*****>
> Date: Sun, 9 Jun 2019 12:39:44 +0300
> 
> Can you please provide the steps required to create glibc binaries with Mingw ?

I don't think you can build glibc that targets Windows, there are too
much OS-specific low-level stuff that will not work on Windows.

> I found the following link:
> http://www.mingw.org/wiki/Bootstrapping_GLIB_with_MinGW 

This is Glib, not glibc.  An entirely different beast.  It _can_ be
built for Windows.

> But I did not understand it.
> 
> * cd /path/to/libffi/source
> * mkdir bld
> * cd bld
> * ../configure --prefix=/mingw
> * make && make install
> 
> How can I launch "configure" under windows ?

You need to install MSYS and related tools, then you can run the
configure script on Windows.

> If you know where can I get prebuilt glibc for windows, this will be great. 

If you mean Glib, you can find one here:

  https://sourceforge.net/projects/ezwinports/files/

What you have there is somewhat old (6 years ago), I don't know if
it's good enough for what you need.



More information about the MinGW-Users mailing list
Back to archive index