diff options
author | Tor Lillqvist <tml@iki.fi> | 2000-05-13 19:30:58 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2000-05-13 19:30:58 +0000 |
commit | 77866eaf9bff4e40223e326e99c40d0077a935b5 (patch) | |
tree | d8c774d845d50086c532770756c9fb317b2d9790 /README.win32 | |
parent | c74c6c91a6e0424d00ac0b71992555ce4f461117 (diff) |
makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) to
2000-05-13 Tor Lillqvist <tml@iki.fi>
* makefile.mingw.in
* tests/makefile.mingw.in
* build-dll: Rename makefile.cygwin(.in) to
makefile.mingw(.in), which better describes what it is. Move the
build of gmodule, gthread and gobject DLLs to makefiles in those
directories. Move resource file handling and build number bump to
build-dll, where it sits much cleaner.
* README.win32
* Makefile.am (EXTRA_DIST): Update accordingly.
* glib.h: Add G_PI, G_PI_2, G_PI_4, G_E, G_LN2, G_LN10 and
G_SQRT2. M_PI etc aren't necessarily in <math.h> in strict ISO C
implementations.
* glib.def: Add g_strcanon.
* gtree.c (g_tree_node_rotate_left): Remove unused variables.
* gwin32.c (g_win32_opendir): Remove unneeded statement.
gmodule:
* makefile.mingw.in: New file, with gmodule stuff
moved from ../makefile.mingw.in.
* Makefile.am: Add to EXTRA_DIST, and add rule to make makefile.mingw.
gobject:
* makefile.mingw.in
* gobject.def
* gobject.rc.in: New files, for Win32 (mingw) build.
* Makefile.am: Add to EXTRA_DIST. Add rules to produce the
corresponding non-*.in files.
* gtype.h: (Win32:) Mark _g_type_fundamental_last for
export/import from DLL.
gthread:
* makefile.mingw.in: New file, with gthread stuff moved from
../makefile.mingw.in.
* Makefile.am: Add to EXTRA_DIST, add rule to build makefile.mingw.
Diffstat (limited to 'README.win32')
-rw-r--r-- | README.win32 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/README.win32 b/README.win32 index f1f605c9b..778562d4f 100644 --- a/README.win32 +++ b/README.win32 @@ -4,9 +4,9 @@ General For more information about the port or GLib, GTk+ and the GIMP to native Windows, and pre-built binary packages, see http://www.iki.fi/tml/gimp/win32/ . "Native" means that we use the -Win32 API only, and not any POSIX emulation layer except that provided -by the Microsoft runtime C library. Additionally, a pthreads emulation -library is used. +Win32 API only, and not any POSIX operating system emulation layer +except that provided by the Microsoft runtime C library. Additionally, +a pthreads emulation library is used. To build GLib on Win32, you can use either the Microsoft compiler and tools, or gcc. Both the compiler from MSVC 5.0 and from MSVC 6.0 have @@ -18,7 +18,7 @@ and .dll files) that do *not* require the cygwin runtime library. This is called "mingw". To test the GLib functions, go to the tests subdirectory and enter -`nmake -f makefile.msc check` or `make -f makefile.cygwin check`. +`nmake -f makefile.msc check` or `make -f makefile.mingw check`. If you would want to use the cygwin tools to generate executables that *do* use the cygwin runtime, the normal Unix configuration method @@ -69,7 +69,7 @@ Before building you must get the pthreads library for Win32 from http://sourceware.cygnus.com/pthreads-win32/. The pthreads-win32 snapshot from 1999-05-30 is the one that should be used. Edit the location of the pthreads library and include files in makefile.msc or -makefile.cygwin. The pthreads distribution includes the precompiled dll +makefile.mingw. The pthreads distribution includes the precompiled dll and import libraries both for MSVC and gcc. The pthreads for Win32 package that the thread support uses supposedly @@ -80,8 +80,8 @@ Where are the makefiles? ======================== If you are building from a CVS snapshot, you will not have any -makefile.msc or makefile.cygwin file. You should copy the -corresponding makefile.msc.in or makefile.cygwin.in file to that name, +makefile.msc or makefile.mingw file. You should copy the +corresponding makefile.msc.in or makefile.mingw.in file to that name, and edit the line that sets GLIB_VER to the correct version number. This is done automatically when an official distribution package is @@ -355,7 +355,7 @@ diff -ru2 ./w32api/include/wingdi.h ../../src/mingw-runtime-19991107/w32api/incl 5) Whew. That hopefully should be it. Next, go back to the GLib directory and build using `make -f -makefile.cygwin`. Building the dlls uses the script build-dll which +makefile.mingw`. Building the dlls uses the script build-dll which is somewhat of a hack. But I couldn't get things working in a cleaner way. |