summaryrefslogtreecommitdiff
path: root/README.win32
AgeCommit message (Collapse)AuthorFilesLines
2009-05-30Updated msvc build filesHans Breuer1-4/+9
2008-03-07More edits.Tor Lillqvist1-53/+55
svn path=/trunk/; revision=6637
2008-03-07Updates.Tor Lillqvist1-72/+69
2008-03-07 Tor Lillqvist <tml@novell.com> * README.win32: Updates. svn path=/trunk/; revision=6636
2007-05-31Fix a typoMatthias Clasen1-1/+1
svn path=/trunk/; revision=5523
2007-01-18config.h.win32.in glib/galloca.h glib/gbacktrace.h glib/gwin32.cTor Lillqvist1-0/+1
2007-01-17 Tor Lillqvist <tml@novell.com> * config.h.win32.in * glib/galloca.h * glib/gbacktrace.h * glib/gwin32.c * glibconfig.h.win32.in * README.win32: More minor tweaks for Digital Mars compiler. (#346808, Serhat Sevki Dincer) svn path=/trunk/; revision=5294
2005-01-03Don't use AC_TRY_RUN to test for long long format when using theJ. Ali Harlow1-7/+15
2005-01-01 J. Ali Harlow <ali@juiblex.co.uk> * configure.in: Don't use AC_TRY_RUN to test for long long format when using the MSVCRT.DLL runtime since we know the answer anyway and it causes some mild inconvience when cross compiling. * README.win32: Add a reference to the cross compiling section of the reference manual. * docs/reference/glib/cross.sgml: MinGW uses MSVCRT.DLL which requires %I64i instead of %lli. (#161306)
2004-03-06Update.Tor Lillqvist1-74/+51
2004-03-06 Tor Lillqvist <tml@iki.fi> * README.win32: Update. * configure.in * Makefile.am * */Makefile.am: Drop the hand-written makefile.mingw(.in) files. They haven't been maintained in a long time. As several people have managed to build GLib for Win32 using the autoconfiscation mechanism, there is no real reason to even try to maintain the hand-written mingw makefiles.
2003-06-15Test where the DLLs actually are.Tor Lillqvist1-9/+11
2003-06-15 Tor Lillqvist <tml@iki.fi> * glib-zip.in (DLLDIR): Test where the DLLs actually are. * README.win32: Point to FSF's binary Win32 distributions of libiconv and gettext-runtime.
2003-02-11Include also the gtk-doc/html documentation in the developer package.Tor Lillqvist1-20/+26
2003-02-11 Tor Lillqvist <tml@iki.fi> * glib-zip.in: Include also the gtk-doc/html documentation in the developer package. * README.win32: Updates.
2003-01-05Updates.Tor Lillqvist1-26/+25
2003-01-05 Tor Lillqvist <tml@iki.fi> * README.win32: Updates. * configure.in: Don't use -lm in TRIO_LIBS on Windows, with no libm. (Mingw has a dummy libm.a, but the .pc file should be useable by MSVC users, too.)
2002-03-17Add MSVC-specific text by Hans Breuer.Tor Lillqvist1-9/+170
2002-03-17 Tor Lillqvist <tml@iki.fi> * README.win32: Add MSVC-specific text by Hans Breuer.
2002-02-24Edits.Tor Lillqvist1-58/+68
2002-02-24 Tor Lillqvist <tml@iki.fi> * README.win32: Edits. * config.h.win32.in: Add (as undefined) HAVE_UNSETENV, _FILE_OFFSET_BITS and _LARGE_FILES, just for completeness. * glibconfig.h.win32.in: Add the gcc-2.95.x undef of G_HAVE_ISO_VARARGS.
2001-11-05Minor edits.Tor Lillqvist1-7/+6
2001-11-05 Tor Lillqvist <tml@iki.fi> * README.win32: Minor edits. * glib-zip.in: Build separate runtime and developer packages. * glib/libcharset/config.charset (os): Don't need to match mingw after all, the charset.alias file isn't even used on Win32... (see localcharset.c). * glib/makefile.mingw.in: Add gdir. * glib/glib.def: Add g_dir_* entry points.
2001-10-25Updates.Tor Lillqvist1-31/+59
2001-10-26 Tor Lillqvist <tml@iki.fi> * README.win32: Updates. * tests/makefile.mingw.in * tests/makefile.msc.in: Remove mainloop-test here, too. gobject: * makefile.mingw.in: When running glib-genmarshal, set PATH to include ../glib.
2001-09-19Correct InternalName and OriginalFilename to match what we actuallyTor Lillqvist1-1/+8
2001-09-19 Tor Lillqvist <tml@iki.fi> * gobject.rc.in: Correct InternalName and OriginalFilename to match what we actually produce. * gmodule.rc.in: Correct InternalName and OriginalFilename to match what we actually produce. * gthread.rc.in: Correct InternalName and OriginalFilename to match what we actually produce.
2001-09-17Add variable for LT_CURRENT minus LT_AGE (the suffix used by libtool onTor Lillqvist1-27/+42
2001-09-17 Tor Lillqvist <tml@iki.fi> * configure.in: Add variable for LT_CURRENT minus LT_AGE (the suffix used by libtool on Win32 for DLLs). Set variables for the compiled resource files on Windows. Handle the native Win32 gthread stuff. * glib/Makefile.am * gmodule/Makefile.am * gobject/Makefile.am: (Win32) Add minor hacks to link in the object file produced from the resource file. Use the lt-compile-resource script from the build module. The non-hack way would be to teach libtool, autoconf and automake about .rc files (which are a kind of source code, after all, that gets compiled to object files). But then there would be problems for those who wouldn't have bleeding edge auto* and libtool. * glib/glib.def * gobject/gobject.def: Updates. * glib/glib.rc.in * gmodule/gmodule.rc.in * gobject/gobject.rc.in * gthread/gthread.rc.in: Update InternalName and OriginalFilename to match libtool's naming convention for DLLs. * glib/gutils.c: Ditto when constructing the DLL name in the definition for GLIB_LOCALE_DIR. * glib/makefile.mingw.in * gmodule/makefile.mingw.in * gobject/makefile.mingw.in * gthread/makefile.mingw.in: Update import library names.
2001-09-04Update. Don't mention pthreads.Tor Lillqvist1-57/+36
2001-09-04 Tor Lillqvist <tml@iki.fi> * README.win32: Update. Don't mention pthreads. * build-dll: Remove, moved to the build module. * glibconfig.h.win32.in: Don't mention pthreds here, either. * glib/gstrfuncs.c: Mark the correct variable for export from DLL. * glib/giowin32.c (g_io_win32_msg_create_watch): Owen forgot to rename the win32_watch_funcs variable here, too. * */makefile.mingw.in: Don't use version number in import library name. Use whole version number in DLL name. Use build-dll from the build module.
2001-03-09Update with some information about using configure and libtool.Tor Lillqvist1-11/+18
2001-03-09 Tor Lillqvist <tml@iki.fi> * README.win32: Update with some information about using configure and libtool.
2001-03-01Remove test for initial double backslash (UNC path), this will of courseTor Lillqvist1-3/+0
2001-03-01 Tor Lillqvist <tml@iki.fi> * gutils.c (g_path_is_absolute): (Win32) Remove test for initial double backslash (UNC path), this will of course be matched by the test for an initial G_DIR_SEPARATOR right up front. Silly me. (g_find_program_in_path): Implement on Win32. (g_get_any_init): (Win32) Also look for the USERPROFILE env var indicating the home directory equivalent. * testglib.c (main): Test g_find_program_in_path() on Win32 by looking for more.com and regedit.exe. * glib.def: Add g_find_program_in_path.
2000-12-27Update.Tor Lillqvist1-28/+25
2000-12-27 Tor Lillqvist <tml@iki.fi> * README.win32: Update.
2000-10-23Updates.Tor Lillqvist1-19/+28
2000-07-22Mention -fnative-struct here, too...Tor Lillqvist1-1/+5
2000-07-04Update README.win32.Tor Lillqvist1-270/+38
2000-05-13makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) toTor Lillqvist1-8/+8
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.
2000-03-26Tell about using the mingw-based gcc, which is much easier than modifyingTor Lillqvist1-8/+22
2000-03-26 Tor Lillqvist <tml@iki.fi> * README.win32: Tell about using the mingw-based gcc, which is much easier than modifying the cygwin gcc to product mingw code for the msvcrt runtime. * makefile.cygwin.in (WIN32APIHEADERS): Kludge to make it work with a "pure" mingw gcc, too.
2000-02-23Add a missing step to the setup instructions for gcc-2.95.2. Thanks toTor Lillqvist1-0/+1
2000-02-23 Tor Lillqvist <tml@iki.fi> * README.win32: Add a missing step to the setup instructions for gcc-2.95.2. Thanks to Arnaud Charlet. * glib.def: Add missing entry point.
2000-02-02glib.h New functions for conversion between UTF-8 and the encodingTor Lillqvist1-5/+30
2000-02-01 Tor Lillqvist <tml@iki.fi> * glib.h * gstrfuncs.c (g_filename_to_utf8, g_filename_from_utf8): New functions for conversion between UTF-8 and the encoding expected by C runtime functions like open() and stat(), and returned by readdir(). Implement them on Win32 where we use the system "ANSI" codepage, which might be single-byte or double-byte. On Unix, just skip the issue for now and provide dummy implementations that return a copy of the argument. * README.win32 * build-dll * glib.def: Minor updates.
1999-11-14Very minor stuff.Tor Lillqvist1-4/+1
1999-11-10More verbose and up-to-date instructions.Tor Lillqvist1-37/+242
1999-07-31New functions.Tor Lillqvist1-48/+23
* gstrfuncs.c (g_strccpy, g_strecpy): New functions. * glib.h: Declare and document them. Define the deprecated g_strescape as a macro that calls g_strecpy. * tests/strfunc-test.c (main): Test them. * makefile.{cygwin,msc}.in * tests/makefile.{cygwin,msc}.in: Remove gstack and its test program. * glib.def: Additions and removals. * README.win32: Improve gcc build instructions. * build-dll: Also build import library for MSVC.
1999-07-21 Win32: With the latest gcc (2.95, pre-release), we can have binaryTor Lillqvist1-50/+44
compatibility with MSVC by using the switch -fnative-struct. No longer build DLLs with .gcc in the name when using gcc. * README.win32: Renew gcc build instructions. * build-dll: Comments change, handle also .a files. * makefile.cygwin.in * tests/makefile.cygwin.in: Remove .gcc from DLL name.
1999-07-12Correct URL for mingw runtime sources.Tor Lillqvist1-3/+3
* README.win32: Correct URL for mingw runtime sources. * build-dll: Combine commands with &&. * glib.h: Map also rmdir() and hypot() for MSVCRT library. * makefile.cygwin.in * tests/makefile.cygwin.in: New DLL naming style. GCC-compiled DLLs are now called *.gcc.dll, to avoid binary incompatibilities with MSVC-compiled versions. * makefile.msc.in: Cosmetics.
1999-07-02README.win32: Note about fixing another bug in the mingw32 headers.Tor Lillqvist1-4/+7
makefile.msc.in: Turn on debugging with nmake variable.
1999-06-28Distribute the build-dll script also. Add some comments about it.Tor Lillqvist1-0/+4
1999-06-20Update the pthreads snapshot version we want. Advice how to hand-expandTor Lillqvist1-15/+29
* README.win32: Update the pthreads snapshot version we want. Advice how to hand-expand the makefile.*.in files. * config.h.win32.in: Define values needed by Sebastian Wilhelmi's new thread stuff. * glib.def: Add new functions. * glibconfig.h.win32.in: Update the pthreads snapshot version. Fix typo. * gthread.c: Include config.h, guard inclusion of unistd.h. When using gcc on Win32, g_thread_functions_for_glib_use must be marked for export here, too. * gtimer.c: Implement g_usleep on native Win32 using Sleep (which only has millisecond granularity, though). * makefile.cygwin.in * makefile.msc.in: Update pthreads snapshot version. File name changes. Remove testgthread. * tests/makefile.cygwin.in * tests/makefile.msc.in: Add thread-test. Link with gthread lib. * gthread-posix.c: Guard pthread_attr_setscope call with test for _POSIX_THREAD_PRIORITY_SCHEDULING, which should be defined in a <pthread.h> that supports that feature.
1999-05-29Misc editing.Tor Lillqvist1-9/+11
1999-05-12Map fileno to _fileno for mingw32. Map fstat to _fstat.Tor Lillqvist1-3/+4
* glib.h (Win32): Map fileno to _fileno for mingw32. Map fstat to _fstat. * README.win32: Advice also to remove -lmoldname from the patch to the egcs-1.1.2 spec file patch.
1999-05-08Small typo...Tor Lillqvist1-0/+1
1999-05-08More Win32 port documentation. (No ChangeLog entry. Is that OK inTor Lillqvist1-47/+83
this case?)
1999-05-06New files, used to generate corresponding non-.in files when making aTor Lillqvist1-3/+4
* makefile.msc.in makefile.cygwin.in glibconfig.h.win32.in config.h.win32.in tests/makefile.msc.in tests/makefile.cygwin.in: New files, used to generate corresponding non-.in files when making a dist. This is just so the version numbers will be kept in synch automatically. * configure.in: Also substitute @GLIB_MAJOR_VERSION@, @GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@. * Makefile.am tests/Makefile.am: Also distribute makefile.cygwin. * gerror.c (g_on_error_query): On Win32, put up a MessageBox and then exit. * glib.def: Add a couple of functions.
1999-04-25More editing. Use gcc, not ld to link. On native Win32 use _unlink(). UseTor Lillqvist1-14/+39
* README.win32: More editing. * build-dll: Use gcc, not ld to link. * glib.h: On native Win32 use _unlink(). * gscanner.c: Use corrent NATIVE_WIN32 feature test macro, not _MSC_VER. * gstring.c: Include <io.h> on Win32 for _read prototype. * gutils.c: Remove old IO channel code (was in #if 0). * makefile.cygwin: Don't need to link with kernel32 and msvcrt explicitly, they are included anyway.
1999-04-24 Support added for building using a GNU toolchain on Win32,Tor Lillqvist1-24/+30
i.e. gcc -mno-cygwin on cygwin (a.k.a. mingw32, using egcs-1.1.2). * README.win32: Updated. * build-dll makefile.cygwin tests/makefile.cygwin: New files. * glib.h glib.def glibconfig.h.win32 makefile.msc: Slight updates. * gmain.c: No need to include <fcntl.h> and <io.h> on Win32. * gmain.c gutils.c testglib.c tests/string-test.c: Test for NATIVE_WIN32, not _MSC_VER. * gmutex.c: Must declare g_thread_functions_for_glib_use as exported (using the GUTILS_C_VAR macro). * gutils.c gmodule/libgplugin_[ab].c: LibMain not needed. * gmodule/gmoduleconf.h.win32: Need underscore with gcc. * gthread/gthread.c: With gcc on Win32, must use memcpy to assign value of g_thread_functions_for_glib_use (?). * makefile.msc tests/makefile.msc: Cosmetics.
1999-04-13Mention the tests directory.Tor Lillqvist1-2/+5
* README.win32: Mention the tests directory. * glib.def: Add the functions from grand.c. * glibconfig.h.win32: Add unsigned max values, and the format strings. * makefile.msc: Add grand. * tests/{date-test,node-test}.c: Include <stdlib.h> for exit(). * tests/makefile.msc: New file.
1999-03-25Update version numbers.Tor Lillqvist1-6/+7
* config.h.win32: Update version numbers. * glibconfig.h.win32: Update version numbers and pthreads-win32- related magic values. * README.win32: Some improvements. * makefile.msc: Add gqueue and gstack. Correct version number.
1999-02-25Increment version to 1.2.0.GLIB_1_2_0Shawn Amundson1-21/+29
Increment version to 1.2.0. -Shawn amundson@gtk.org
1999-01-19More Win32 updates. Add missing Win32 files to distributed files.Tor Lillqvist1-6/+36
Remove the obsolete makefile.lcc.
1999-01-16Merge in current Win32 version. Almost no Unix code touched.Tor Lillqvist1-6/+15
* README.win32: More text. * config.h.win32 glibconfig.h.win32: Update to match the corresponding generated files on Unix. * makefile.msc: Update with new source files, and gthread library. Use the compiler flag -MD instead of using -D_DLL and "/nodefaultlib:libc msvcrt.lib" in the link phase. * glib.def: Include new functions, drop removed ones. * glib.h: Add comments about main loop and polling on Win32. (In general, it's only for the GIMP's use.) Add Win32 IO Channel functions. Remove the obsoleted old IO Channel stuff (which was in #if 0 already). * giowin32.c: New file. * gmain.c: Include config.h, conditionalize <sys/time.h> inclusion. Add g_poll implementation for Win32 (only for the GIMP's needs for now, it's hard or even impossible to be as clean and generic as on Unix). Implement g_get_current_time on Win32. If threads aren't supported, don't try to wake up main thread's loop. On Win32, use a semaphore and not a pipe to wake up the main loop. * gmessages.c: On Win32, allocate a console window if the standard output handle is invalid before writing to stdout, and reopen stdout to that console window. * giochannel.c: Conditionalize unistd.h inclusion. Some indentation cleanup. * gstrfuncs.c: Include <signal.h>. * gutils.c: On Win32, also check the HOMEDRIVE and HOMEPATH environment variables. * gmodule-dl.c gmodule-dld.c: In _g_module_build_path, don't add the "lib" prefix and ".so" or ".sl" suffix if already there. * gmodule-win32.c: Likewise for the ".dll" suffix. * gthread-posix.c: Conditionalize <sys/time.h> inclusion.
1998-10-27removed dummy structure definitions for struct _GCache, _GTree, _GTimer,Tor Lillqvist1-0/+7
Tue Oct 27 03:00:50 1998 Tim Janik <timj@gtk.org> * glib.h: removed dummy structure definitions for struct _GCache, _GTree, _GTimer, _GMemChunk, _GListAllocator and _GStringChunk. * gutils.c: implement glib's inline functions _after_ all include statements have been processed. removed Tor's MAXPATHLEN check since there already was one supplied further down in this file. (LibMain): special cased the #ifdef __LCC__ case for NATIVE_WIN32, since lcc maybe used on other platforms as well. why in hell is this stuff required? (g_get_any_init): for windows, if the user name is supplied, use it as realname also. in general, if there is no homedir specified, use the tmpdir that we already figured. * gtimer.c (g_timer_elapsed): changed a g_assert() statement to g_return_if_fail(). * applied glib-tml-981020-0.patch for WIN32 portability, added some comments and g_return_if_fail() statements, minor indentation fixes. ChangeLog entry from Tor Lillqvist is appended. * glib.h (struct dirent): use lower case structure members. * glib.h: * makefile.lcc: * makefile.msc: s/COMPILING_GLIB/GLIB_COMPILATION/ 1998-10-20: Tor Lillqvist <tml@iki.fi> * README.win32 glib.def gmodule.def * glibconfig.h.win32 gmodule/gmoduleconf.h.win32: New files for the Windows port. The .def files list exported symbols for the Microsoft linker and compatibles. * configure.in: Added checks for some platform-dependent headers: pwd.h sys/param.h sys/select.h sys/time.h sys/times.h unistd.h, and the function lstat. * gerror.c: Conditionalized inclusion of system-dependent headers. Changes for Windows: no gdb to do a stack trace. Just call abort(). * glib.h: Changes for Windows: Added macros G_DIR_SEPARATOR, G_DIR_SEPARATOR_S for platform-dependent file name syntax elements. Added macros G_SEARCHPATH_SEPARATOR, G_SEARCHPATH_SEPARATOR_S for platform-dependent search path syntax conventions. Added pragmas for Microsoft C to make it more pedantic. Marked GLib's global variables for export from DLL. Added the function g_strescape that escapes backslashes. Added functions g_path_is_absolute and g_path_skip_root to handle platform-dependent file name syntax. Added the function g_getenv that expands environment variables that contain references to other environment variables, as is typical on Windows NT. Added the GIOChannel structure which is used to encapsulate the IPC mechanism used by the GIMP's plug-ins, and possibly other things later. On Unix a GIOChannel encapsulates just a file descriptor. On Windows it contains a file handle from _pipe() and a few other things related to the implementation of gdk_input_add and GIMP plug-in communication. Subject to change. Removed duplicate declarations of the version variables. For the Microsoft compiler, declare own implementation of ftruncate and the <dirent.h> functions. * gmem.c: Define a symbolic name for the profiling table size. * gmessages.c: Conditionalized inclusion of unistd.h. On Windows, output using stdio to stdout. * gscanner.c: Conditionalized inclusion of unistd.h. Added changes for Microsoft C. Added CR to the skipped character set. Added small workaround for MSC compiler bug in g_scanner_cur_value. * gstrfuncs.c: Added the function g_strescape, which escapes the backslash character. Needed especially when printing Windows filenames. * gtimer.c: Conditionalized inclusion of unistd.h and sys/time.h. Added implementations for Windows. * gutils.c: Conditionalized inclusion of platform-dependent headers. Use the platform-independent file name syntax macros. Conditionalize code on platform-dependent features. Added the functions g_path_is_absolute g_path_skip_root and g_getenv. Added the GIOChannel-related functions. Added compiler-dependent Unix compatibility functions for Windows. * makefile.lcc makefile.msc: New files. Compiler-specific makefiles for LCC-Win32 and Microsoft C. Only Microsoft C is actually supported currently. * testglib.c: Added pathname check cases for Windows. Added workaround for bug in the Microsoft runtime library. Improved some tests a bit. Tue Oct 27 04:00:11 1998 Tim Janik <timj@gtk.org> * testgmodule.c (main): changed the #ifdef WIN32 test to NATIVE_WIN32, this needs to be more constistent throughout the code, do we go for NATIVE_WIN32 or WIN32? * gmodule.c (LibMain): special cased the #ifdef __LCC__ case for NATIVE_WIN32, since lcc maybe used on other platforms as well. * libgplugin_a.c (LibMain): * libgplugin_b.c (LibMain): likewise. not sure i like this special requirement for lcc in here. * gmodule-dl.c (_g_module_build_path): feature empty "" directories and prepend the module name with "lib". * gmodule-dld.c (_g_module_build_path): * gmodule-win32.c (_g_module_build_path): feature empty "" directories. * we need some more magic in the _g_module_build_path variants so we don't append/prepend lib and .so, .sl or .dll for those names that already contain it. * applied patch from Tor Lillqvist for g_module_build_path() and windows support. 1998-10-20: Tor Lillqvist <tml@iki.fi> * gmodule/gmodule-win32.c: New file. * gmodule/gmodule.c gmodule/gmodule.h: Added the funcion g_module_build_path that builds the path to a module file, decorating the name according to the system's conventions. Added the Windows implementation. * gmodule/libgplugin_a.c gmodule/libgplugin_b.c: Added LibMain for LCC-Win32. * gmodule/testgmodule.c: Handle Windows dll names.