HP XP20000XP24000 Disk Array User Manual

Page 169

Advertising
background image

Performing File Access Library (FAL) Operations

6-15

Hitachi USP V Cross-OS File Exchange User’s Guide

# cc -qlanglvl=ansi -q64 —D_NO_MT -o Output file name

Source file name /usr/lib/libfal64.a

libfal64.a = file name of FAL object module

HP-UX

# cc -Ae +DAZ.0W —D_NO_MT -o Output file name Source file

name /usr/lib/pa20_64/libfal64.sl
libfal64.sl:
= file name of FAL object module.

Solaris

# cc xarch=v9 —D_NO_MT -o Output file name Source file

name
/usr/lib/sparcv9/libfal64.so.1
libfal64.so.1:
= file name of FAL object module.

Linux

# gcc -o Output file name Source file name

/usr/lib/libfal.so.1
libfal.so.1
:

This specifies a file name of the object module of the File Access
Library.

Windows 2000/2003/Windows NT systems (Visual C++)

Start Developer Studio and create a new project.
a) Copy the following three FAL files into the project folder:

dataset.h, fal.dll, fal.lib

b) Select Settings in the Projects menu of Developer Studio.
c) On the Project Settings panel, select the Link tab.
d) Enter fal.lib in the object/library module field.
e) Select the C/C++ tab in Project settings dialog.
f) Add _NO_MT to the preprocessor definitions field.
e) Build and execute.

Advertising