home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
useful
/
comm
/
tcp
/
amitcp
/
src
/
compiling
< prev
next >
Wrap
Text File
|
1994-05-02
|
2KB
|
65 lines
COMPILING THE AmiTCP/IP AND THE UTILITIES
$Revision: 3.3 $
ABOUT THE COMPILER
- Only SAS/C 6.x is supported for now. Note that we have used SAS/C 6.51
for compiling. Since the SAS/C 6.51 still has some bugs, there may be some
compiler-related problems with release binaries. If you are using SAS C
6.3, please report all incompatibilities you have encountered.
- The GNU CC support is unfinished
- DICE support should be included in the release 3.1
SOME NOTES:
- netinclude and netlib along with the assigns must be installed
before compiling anything (compiling the netlib itself does not
need the netlib: assign).
- SANA-II headers are now included in netinclude:
- if you intend to change src/kern/variables.src, then you must have
gawk (Gnu awk) installed to be able to compile the AmiTCP itself.
Gawk is not needed to compile the utilities.
- Most Smakefiles do not have decent dependencies, so if something is
changed you have better "smake clean" before retrying
- Many utilities and applications require a RCSREV utility for compilation.
RCSREV is included in the bin directory, which should be added to
the path.
COMPILING:
1. Assign AmiTCP: to the AmiTCP/IP main directory,
and netinclude: to the AmiTCP:netinclude.
2. Make sure that rcsrev is on the path ("path AmiTCP:bin add").
3. cd to the AmiTCP:src and make sure that the scripts "compile.lib"
and "compile" have the `s' and `e' bits set ("protect compile#? +se").
4. Compile the link libraries first. An already compiled version
should be included in the API package. You can recompile the link
libraries with the shell script "compile.lib INSTALL" (INSTALL
switch is optional, and causes the results to be installed to
proper places.
5. assign netlib: to AmiTCP:netlib (created by the above step).
6. The whole distribution can be recompiled with the shell script "compile".
It compiles the following subcomponents of AmiTCP/IP release:
* APPL network applications
* AMITCP AmiTCP/IP binary
* DEVS network drivers and support devices
* DEVTOOLS development tools (rcsrev, rpcgen and cpp)
* LIBS support libraries (usergroup.library)
* UTIL network and usergroup utilities
* ALL compiles all items above
The INSTALL switch makes the results to be installed in proper places.
"compile ALL INSTALL" will do it all.