From f4dea8b2513dc829f837708178a16c5cda101a7c Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Tue, 23 Dec 2014 11:29:01 -0800 Subject: [PATCH] Update READMEs Updated the build instructions in the READMEs. --- nufxlib/README.txt | 34 +++++++++++++--------------------- nulib2/README.txt | 26 +++++++++++--------------- 2 files changed, 24 insertions(+), 36 deletions(-) diff --git a/nufxlib/README.txt b/nufxlib/README.txt index 37c7c49..61bb8c9 100644 --- a/nufxlib/README.txt +++ b/nufxlib/README.txt @@ -1,4 +1,4 @@ -NufxLib README, updated 2004/03/18 +NufxLib README, updated 2014/12/23 http://www.nulib.com/ See "COPYING-LIB" for distribution restrictions. @@ -42,11 +42,8 @@ for @CFLAGS@ is "-g -O2". (Implicitly sets DEBUG_MSGS.) Spray lots of debugging output. If you want to do benchmarks, use "-O2 -DNDEBUG". The recommended -configuration during testing is "-g -O2 -DDEBUG_MSGS", so that verbose -debug output is available when errors occur. - -The flags are stuffed into Version.c, so the application program can -examine and display the flags that were used to build the library. +configuration is "-g -O2 -DDEBUG_MSGS", so that verbose debug output is +available when errors occur. BeOS @@ -83,29 +80,24 @@ Win32 If you're using an environment that supports "configure" scripts, such as DJGPP, follow the UNIX instructions. -NufxLib has been tested with Microsoft Visual C++ 6.0. To build NufxLib, -start up a DOS shell and run vcvars32.bat to set your environment. Run: +NufxLib has been tested with Microsoft Visual C++ 12 (Visual Studio 2013). +To build NufxLib, run the "Visual Studio 2013 x86 Native Tools Command +Prompt" shortcut to get a shell. Change to the nufxlib directory, then: + nmake -f makefile.msc -to build with debugging info, or - nmake -f makefile.msc nodebug=1 -to build optimized. -See the makefile for comments about including zlib or libbz2. These -need to be enabled at compile time and linked into the sample apps. +When the build finishes, run "test-basic.exe" to confirm things are working. -Once the library has been built, "cd samples" and run the same command there. -When it finishes, run "test-basic.exe". +If you want to have zlib support enabled, you will need to have zlib.h, +zconf.h, and zlib.lib copied into the directory. See "makefile.msc" for +more details. -If you want to build NufxLib as a DLL, use "makefile.dll" instead. -If you're using zlib or libbz2, these will need to be linked into the DLL. -The makefile currently assumes that you will want to use zlib.dll. +The makefile builds NufxLib as a static library and as a DLL. Other Notes =========== -All of the source code is now formatted with spaces instead of tabs. - If you want to use the library in a multithreaded application, you should define "USE_REENTRANT_CALLS" to tell it to use reentrant versions of certain library calls. This defines _REENTRANT, which causes Solaris to @@ -118,7 +110,7 @@ Legalese ======== NufxLib, a NuFX archive manipulation library. -Copyright (C) 2000-2007 by Andy McFadden, All Rights Reserved. +Copyright (C) 2000-2014 by Andy McFadden, All Rights Reserved. See COPYING for license. diff --git a/nulib2/README.txt b/nulib2/README.txt index 151b903..794e412 100644 --- a/nulib2/README.txt +++ b/nulib2/README.txt @@ -1,9 +1,9 @@ -NuLib2 README, updated 2004/03/10 +NuLib2 README, updated 2014/12/23 http://www.nulib.com/ -To build NuLib2, you will also need a copy of NufxLib. This may have come -in the same .tar.gz file. Build the nufxlib library first. +To build NuLib2, you will also need a copy of NufxLib. This should have come +in the same .tar.gz file. Build the NufxLib library first. UNIX @@ -71,23 +71,19 @@ Win32 If you're using an environment that supports "configure" scripts, such as DJGPP, follow the UNIX instructions. -NuLib2 has been tested with Microsoft Visual C++ 6.0. To build NuLib2, -start up a DOS shell and run vcvars32.bat to set your environment. Run: - nmake -f makefile.msc -to build with debugging info, or - nmake -f makefile.msc nodebug=1 -to build optimized. +NuLib2 has been tested with Microsoft Visual C++ 12 (Visual Studio 2013). +To build NuLib2, run the "Visual Studio 2013 x86 Native Tools Command +Prompt" shortcut to get a shell. Change to the nulib2 directory, then: -See the notes in Makefile.msc for building with zlib, libbz2, and when -NufxLib is in a DLL. + nmake -f makefile.msc + +If you want to have zlib support enabled, you will need to have zlib.lib +copied into the directory. See "makefile.msc" for more details. Other Notes =========== -All of the source code is now formatted with spaces instead of tabs. - - Fun benchmark of the day: Time to compress 1525 files, totaling 19942152 bytes, on an Apple IIgs @@ -140,7 +136,7 @@ Legalese ======== NuLib2, a NuFX and Binary II archive application. -Copyright (C) 2000-2007 by Andy McFadden, All Rights Reserved. +Copyright (C) 2000-2014 by Andy McFadden, All Rights Reserved. See COPYING for license.