Hitachi MK-96RD647-01 manual Add Nomt to the preprocessor definitions field, Build and execute

Models: MK-96RD647-01

1 226
Download 226 pages 34.71 Kb
Page 169
Image 169

#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.

Performing File Access Library (FAL) Operations

6-15

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

Page 169
Image 169
Hitachi MK-96RD647-01 manual Add Nomt to the preprocessor definitions field, Build and execute