mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
README.win32: More updates on GLib usage
Remove mentions of the pre-configured glibconfig.h.win32, as it does not exist anymore. Also make the 2008/x64 build workarounds clearer.
This commit is contained in:
parent
b806ab8906
commit
cd2081d6a8
11
README.win32
11
README.win32
@ -150,14 +150,11 @@ library.
|
||||
|
||||
The DLL generated by either compiler is binary compatible with the
|
||||
other one. Thus one either has to manually edit glibconfig.h
|
||||
afterwards, or use the supplied glibconfig.h.win32 which has been
|
||||
produced by running configure twice, once using gcc and once using
|
||||
MSVC, and merging the resulting files with diff -D.
|
||||
afterwards.
|
||||
|
||||
For MSVC7 and later (Visual C++ .NET 2003, Visual C++ 2005, Visual C++
|
||||
2008 etc) it is preferred to use specific builds of GLib DLLs that use
|
||||
the same C runtime as the code that uses GLib. Such DLLs should be
|
||||
named differently than the ones that use msvcrt.dll.
|
||||
the same C runtime as the code that uses GLib.
|
||||
|
||||
For GLib, the DLL that uses msvcrt.dll is called libglib-2.0-0.dll,
|
||||
and the import libraries libglib-2.0.dll.a and glib-2.0.lib. Note that
|
||||
@ -201,5 +198,5 @@ for /r %f in (*.exe.manifest) do if exist $(PREFIX)\bin\%~nf mt /manifest %f $(P
|
||||
is caused by an optimization issue in the 2008 x64 compiler. You need to use Task Manager to
|
||||
remove all running instances of cl.exe, which will cause the build process to terminate. Update
|
||||
the build flags of the sources that hang on compilation by changing its "/O2" flag to "/O1", and
|
||||
things should continue to build normally. At the time of writing, this is needed for compiling
|
||||
glib/gtestutils.c, gio/gsettings.c and gio/gsettingsschema.c
|
||||
retry the build, where things should continue to build normally. At the time of writing, this
|
||||
is needed for compiling glib/gtestutils.c, gio/gsettings.c and gio/gsettingsschema.c
|
||||
|
Loading…
Reference in New Issue
Block a user