User`s guide
106
K
A
DAK
KwikNet System Construction
KwikNet
Directories and Files
The make process depends upon the structure of the KwikNet installation directory
KNTnnn. When KwikNet is installed, the following subdirectories are created within
directory
KNTnnn.
CFGBLDW KwikNet Configuration Builder; template files
ERR Construction error summary
MAKE KwikNet make directory
TCPIP KwikNet header and source files
TOOLXXX Toolset specific files
TOOLXXX\LIB Toolset specific libraries will be built here
TOOLXXX\DRIVERS KwikNet device drivers
Other directories containing sample programs will also be present but are not involved in
the library construction process.
One or more toolset specific directories TOOLXXX will be present. There will be one such
directory for each of the software development toolsets which KADAK supports. Each
toolset vendor is identified by a unique two or three character mnemonic, XXX. The
mnemonic UU identifies the toolset vendor used with the KwikNet Porting Kit.
Within directory TOOLXXX you will find a collection of files of the form M_tttXXX.vvv.
These files, called tailoring files, are used to tailor the library construction process for
the Microsoft make utility. The mnemonic ttt identifies the target processor. The
extension vvv identifies the first version of the compiler for toolset XXX with which the
tailoring file was tested. The tailoring file can be used with subsequent versions of the
tools until some change in their method of operation requires a tailoring file update. For
example, file M_PPCMW.361 was first used to create the PowerPC KwikNet Library using
Microsoft's NMAKE and the MetaWare v3.61 C compiler.
Getting Ready
Before creating the
KwikNet Library, you must pick your C compiler and object module
librarian (archiver). Be aware that KADAK has observed that not all compilers operate
correctly with every version of the Microsoft make utility. If the make process
inexplicably fails, it will most frequently be because of incompatibilities between these
tools.
Pick the tailoring file which matches your choice of toolset and compiler version. Copy
that file into the toolset directory but with name KNZZZCC.INC. You may have to
overwrite the default copy created in that directory when
KwikNet was installed.