
This README applies to Red Hat* 7.0 only and addresses 3 areas: 

I   Compiling of Intel adapter drivers on the Red Hat 7 distribution
II  Matching the kernel source on the Enterprise Edition 
III Compiling the 2.4.0 kernel on Red Hat 7.0 with gcc (with gcc ver 2.91
must use kgcc, vers 2.95 & 2.96 must NOT use kgcc).	

I. For installation of Intel's e100, e1000, and iANS drivers on systems
running Red Hat 7 Linux, please ensure the following are installed:
 - Kernel source package (REQUIRED)
 - kgcc (REQUIRED because the stock Red Hat kernel is compiled with kgcc.)
 - a backward-compatible C++ library  (required only for the iANS driver.)
	
You can check for the packages by typing 
  		rpm -q kernel-source
  		rpm -q kgcc
  		rpm -q compat-libstdc++   (only for iANS driver )
  
   If you are missing a package, install it with the following commands:
mount /dev/cdrom /mnt/cdrom  (or copy from the web)
cd /mnt/cdrom/Red Hat/RPMS/  (or directory copied from the web)
rpm -i kernel-source-2.2.16-22.i386.rpm
  		rpm -i kgcc-1.1.2-40.i386.rpm
  		rpm -i compat-libstdc++-6.2-2.9.0.9.i386.rpm  (for ians only) 

  Then you MUST reboot. This insures that version.h gets updated. 
  Then install the Intel driver(s) as per their readme files. (Readme .txt files
  are located on the Intel CD in the directories \Linux\ANS, \Linux\E100 and
  \Linux\E1000.)


II. The Enterprise Version (7.0)- this version was built using extra patches
and hence doesn't match the kernel-RPM installed source. You must install the
patches from the kernel SRPM and apply them to the source to recreate the
proper source tree. 

The procedure to recreate the 2.2.16-22enterprise kernel source is as follows:

1) install kernel-2.2.16-22.src.rpm and kernel-source-2.2.16-22.i386.rpm 
2) make a copy of the source tree installed from kernel-source-2.2.16-22.i386.rpm	
3) apply the following patches from the kernel SRPM to the new kernel source tree
	/usr/src/Red Hat/SOURCES/linux-2.2.16-lfs.patch
	/usr/src/Red Hat/SOURCES/linux-2.2.16-lfs-bigmem.patch
The patches will not install cleanly, but you can ignore the failures.
4) clean out the kernel source tree and reconfigure for the enterprise kernel  
	make mrproper
	cp configs/kernel-2.2.16-i686-enterprise.config .config
	make oldconfig
	make dep
5) Ensure /usr/src/linux is a symlink pointing to the new enterprise kernel
source, and in the Makefile change "CC=gcc" to "CC=kgcc".
6) Build the driver.

III. Compiling  a 2.4.0-X series kernel on Red Hat 7.0 with gcc

If the running kernel was compiled with gcc 2.96 or 2.95 you MUST NOT USE KGCC.
If the running kernel was compiled with gcc 2.91 you MUST USE KGCC.

This can be determined looking at:    cat  /proc/version

