SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Note: this application is distributed under the terms of the GNU General Public License. See the 'COPYING' file for more.

LibDS is a shared library to provide some threading routines and data structures. This is a fork of some of my earlier code, mainly to ensure that all projects use the same shared library and I'm not fixing the same bugs over and over. Feel free, of course, to use this code yourself (subject to the terms of the GNU GPL.)

This is a semi-normal source distribution, but there are a few things to be aware of.

*** NIX **

./configure
make
make install

should work fine. Use ./configure --help for more information.

*** WIN32 (MSVC) ***

Use Makefile.w32. To build, type:

nmake /f makefile.w32

You may need to specify the version of your Microsoft C compiler (not MSVC) to give the build system a bit of a hint. To find out your C version, type cl at the command prompt. Use 9 for MSVC2, 10 for MSVC4, 11 for MSVC5, 12 for MSVC6, 13 for MSVC .NET (either) and 14 for Whidbey. You may also need to specify the edition (std, pro, or free); eg:

nmake /f Makefile.w32 MSC_VER=12 MSC_ED=std

For more common options, see the AutoWin.mak file.

This package requires Visual C++ 2.0 or later, but can work with Microsoft C/C++ version 8.x with an updated linker.

*** WIN32 (MinGW/MSYS) ***

Support is now included for using MinGW. To build, follow the instructions for the *NIX build.

Unfortunately, MinGW won't build shared libraries. (I haven't supported static libraries in MSVC.) So if you use MinGW, you'll have to link this package in with every app. Ick.

Enjoy!
- Malcolm Smith
malxau@users.sourceforge.net


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.