* doc/README.cmake: Fix typo (e.g.).
* doc/README.solaris2: Likewise.
* doc/README.solaris2: Likewise.
* doc/README.win32: Likewise.
* include/gc.h (GC_register_my_thread): Fix typo in a comment (e.g.).
* include/leak_detector.h: Likewise.
* misc.c (GC_VSNPRINTF): Likewise.
* pthread_stop_world.c (GC_unblock_gc_signals): Likewise.
. install cmake (cmake.org)
. add directory containing cmake.exe to %PATH%
. run cmake from the gc root directory, passing the target with -G:
- eg.
+ e.g.,
> cmake -G "Visual Studio 8 2005"
use the gc.sln file generated by cmake to build gc
. you can also run cmake from a build directory to build outside of
the source tree. Just specify the path to the source tree:
- eg.
+ e.g.,
> mkdir build
> cd build
> cmake .. -G "Visual Studio 8 2005"
Note:
Before you run "make check", you need to set your LD_LIBRARY_PATH correctly
-(eg., to "/usr/local/lib") so that tests can find the shared library
+(e.g., to "/usr/local/lib") so that tests can find the shared library
libgcc_s.so.1. Alternatively, you can configure with --disable-shared.
SOLARIS THREADS:
Special note for OpenWatcom users: the C (unlike the C++) compiler (of the
latest stable release, not sure for older ones) doesn't force pointer global
variables (i.e. not struct fields, not sure for locals) to be aligned unless
-optimizing for speed (eg. "-ot" option is set); the "-zp" option (or align
+optimizing for speed (e.g., "-ot" option is set); the "-zp" option (or align
pragma) only controls alignment for structs; I don't know whether it's a bug or
a feature (see an old report of same kind -
http://bugzilla.openwatcom.org/show_bug.cgi?id=664), so You are warned.
/* functions are called to create the thread, e.g. by including gc.h */
/* (which redefines some system functions) before calling the system */
/* thread creation function. Nonetheless, thread cleanup routines */
- /* (eg., pthread key destructor) typically require manual thread */
+ /* (e.g., pthread key destructor) typically require manual thread */
/* registering (and unregistering) if pointers to GC-allocated */
/* objects are manipulated inside. */
/* It is also always done implicitly on some platforms if */
#ifndef GC_LEAK_DETECTOR_H
#define GC_LEAK_DETECTOR_H
-/* Include leak_detector.h (eg., via GCC --include directive) */
+/* Include leak_detector.h (e.g., via GCC --include directive) */
/* to turn BoehmGC into a Leak Detector. */
#ifndef GC_DEBUG
#define BUFSZ 1024
#ifdef NO_VSNPRINTF
- /* In case this function is missing (eg., in DJGPP v2.0.3). */
+ /* In case this function is missing (e.g., in DJGPP v2.0.3). */
# define GC_VSNPRINTF(buf, bufsz, format, args) vsprintf(buf, format, args)
#elif defined(_MSC_VER)
# ifdef MSWINCE
}
#ifdef GC_EXPLICIT_SIGNALS_UNBLOCK
- /* Some targets (eg., Solaris) might require this to be called when */
+ /* Some targets (e.g., Solaris) might require this to be called when */
/* doing thread registering from the thread destructor. */
GC_INNER void GC_unblock_gc_signals(void)
{