mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 20:38:48 +02: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
|
The DLL generated by either compiler is binary compatible with the
|
||||||
other one. Thus one either has to manually edit glibconfig.h
|
other one. Thus one either has to manually edit glibconfig.h
|
||||||
afterwards, or use the supplied glibconfig.h.win32 which has been
|
afterwards.
|
||||||
produced by running configure twice, once using gcc and once using
|
|
||||||
MSVC, and merging the resulting files with diff -D.
|
|
||||||
|
|
||||||
For MSVC7 and later (Visual C++ .NET 2003, Visual C++ 2005, Visual C++
|
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
|
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
|
the same C runtime as the code that uses GLib.
|
||||||
named differently than the ones that use msvcrt.dll.
|
|
||||||
|
|
||||||
For GLib, the DLL that uses msvcrt.dll is called libglib-2.0-0.dll,
|
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
|
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
|
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
|
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
|
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
|
retry the build, where things should continue to build normally. At the time of writing, this
|
||||||
glib/gtestutils.c, gio/gsettings.c and gio/gsettingsschema.c
|
is needed for compiling glib/gtestutils.c, gio/gsettings.c and gio/gsettingsschema.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user