mirror of https://github.com/fadden/nulib2.git
Update READMEs
Updated the build instructions in the READMEs.
This commit is contained in:
parent
5d5dd3900f
commit
f4dea8b251
|
@ -1,4 +1,4 @@
|
||||||
NufxLib README, updated 2004/03/18
|
NufxLib README, updated 2014/12/23
|
||||||
http://www.nulib.com/
|
http://www.nulib.com/
|
||||||
|
|
||||||
See "COPYING-LIB" for distribution restrictions.
|
See "COPYING-LIB" for distribution restrictions.
|
||||||
|
@ -42,11 +42,8 @@ for @CFLAGS@ is "-g -O2".
|
||||||
(Implicitly sets DEBUG_MSGS.) Spray lots of debugging output.
|
(Implicitly sets DEBUG_MSGS.) Spray lots of debugging output.
|
||||||
|
|
||||||
If you want to do benchmarks, use "-O2 -DNDEBUG". The recommended
|
If you want to do benchmarks, use "-O2 -DNDEBUG". The recommended
|
||||||
configuration during testing is "-g -O2 -DDEBUG_MSGS", so that verbose
|
configuration is "-g -O2 -DDEBUG_MSGS", so that verbose debug output is
|
||||||
debug output is available when errors occur.
|
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.
|
|
||||||
|
|
||||||
|
|
||||||
BeOS
|
BeOS
|
||||||
|
@ -83,29 +80,24 @@ Win32
|
||||||
If you're using an environment that supports "configure" scripts, such as
|
If you're using an environment that supports "configure" scripts, such as
|
||||||
DJGPP, follow the UNIX instructions.
|
DJGPP, follow the UNIX instructions.
|
||||||
|
|
||||||
NufxLib has been tested with Microsoft Visual C++ 6.0. To build NufxLib,
|
NufxLib has been tested with Microsoft Visual C++ 12 (Visual Studio 2013).
|
||||||
start up a DOS shell and run vcvars32.bat to set your environment. Run:
|
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
|
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
|
When the build finishes, run "test-basic.exe" to confirm things are working.
|
||||||
need to be enabled at compile time and linked into the sample apps.
|
|
||||||
|
|
||||||
Once the library has been built, "cd samples" and run the same command there.
|
If you want to have zlib support enabled, you will need to have zlib.h,
|
||||||
When it finishes, run "test-basic.exe".
|
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.
|
The makefile builds NufxLib as a static library and as a DLL.
|
||||||
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.
|
|
||||||
|
|
||||||
|
|
||||||
Other Notes
|
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
|
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
|
define "USE_REENTRANT_CALLS" to tell it to use reentrant versions of
|
||||||
certain library calls. This defines _REENTRANT, which causes Solaris to
|
certain library calls. This defines _REENTRANT, which causes Solaris to
|
||||||
|
@ -118,7 +110,7 @@ Legalese
|
||||||
========
|
========
|
||||||
|
|
||||||
NufxLib, a NuFX archive manipulation library.
|
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.
|
See COPYING for license.
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
NuLib2 README, updated 2004/03/10
|
NuLib2 README, updated 2014/12/23
|
||||||
http://www.nulib.com/
|
http://www.nulib.com/
|
||||||
|
|
||||||
|
|
||||||
To build NuLib2, you will also need a copy of NufxLib. This may have come
|
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.
|
in the same .tar.gz file. Build the NufxLib library first.
|
||||||
|
|
||||||
|
|
||||||
UNIX
|
UNIX
|
||||||
|
@ -71,23 +71,19 @@ Win32
|
||||||
If you're using an environment that supports "configure" scripts, such as
|
If you're using an environment that supports "configure" scripts, such as
|
||||||
DJGPP, follow the UNIX instructions.
|
DJGPP, follow the UNIX instructions.
|
||||||
|
|
||||||
NuLib2 has been tested with Microsoft Visual C++ 6.0. To build NuLib2,
|
NuLib2 has been tested with Microsoft Visual C++ 12 (Visual Studio 2013).
|
||||||
start up a DOS shell and run vcvars32.bat to set your environment. Run:
|
To build NuLib2, run the "Visual Studio 2013 x86 Native Tools Command
|
||||||
nmake -f makefile.msc
|
Prompt" shortcut to get a shell. Change to the nulib2 directory, then:
|
||||||
to build with debugging info, or
|
|
||||||
nmake -f makefile.msc nodebug=1
|
|
||||||
to build optimized.
|
|
||||||
|
|
||||||
See the notes in Makefile.msc for building with zlib, libbz2, and when
|
nmake -f makefile.msc
|
||||||
NufxLib is in a DLL.
|
|
||||||
|
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
|
Other Notes
|
||||||
===========
|
===========
|
||||||
|
|
||||||
All of the source code is now formatted with spaces instead of tabs.
|
|
||||||
|
|
||||||
|
|
||||||
Fun benchmark of the day:
|
Fun benchmark of the day:
|
||||||
|
|
||||||
Time to compress 1525 files, totaling 19942152 bytes, on an Apple IIgs
|
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.
|
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.
|
See COPYING for license.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue