Nstallation on, Inux, Chapter 2. building and installing the program – Lanner Digital Input/Output User Manual
Page 7: 1 dio installation on linux

Software User Manual
Version 1.0
5
Chapter 2. Building and Installing the Program
2.1 DIO Installation on Linux
Note:
The OS supported by Lanner LCM function include platforms based on Linux Kernel series 2.4.x
and Linux Kernel series 2.6.x, and DOS.
For installation on DOS, refer to the Readme file contained within the program.
Build
To build program source code on Linux platform, use the following steps as a
guideline:
1.
Copy the proper makefile from the Driver and Manual CD to your system:
#Makefile.linux
2.
Set the access mode with these two parameters by editing the Makefile.linux directly:
DIRECT_IO_ACCESS= [0|1] (enter either 1 or 0) (enter either 1 or 0). Refer to the next section
on Install for more details on access mode.
3.
Type make to build source code:
#make Makefile (Note: omit the file extensions)
4.
After the source code is compiled, the executable programs (DIO_TST) and the driver
(dio_drv[k]o) will appear in the bin sub-directory.