National Instruments 320685D-01 ユーザーズマニュアル

ページ / 211
Chapter 3
Windows 95/NT Compiler/Linker Issues
LabWindows/CVI Programmer Reference Manual
3-18
©
 National Instruments Corporation
Creating Object and Library Files in External Compilers 
for Use in LabWindows/CVI
When you use a compatible external compiler to create an object or library file for 
use in LabWindows/CVI, you must use the include files in the 
cvi\include
 and 
cvi\sdk\include
 directories. Ensure that these directories have priority over the 
default paths for the compiler’s C library and SDK library include files.
You must choose the compiler options carefully. LabWindows/CVI tries to work with the 
default options for each compiler as much as possible. In some cases, however, you have to 
choose options that override the defaults. In other cases you must accept the defaults.
Microsoft Visual C/C++
LabWindows/CVI is compatible with all the defaults.
You must not use the following options to override the default settings:
Borland C/C++
LabWindows/CVI is compatible with all the defaults.
You must not use the following options to override the default settings:
/J
(Unsigned Characters)
/Zp
(Struct Member Alignment)
/Ge
(Stack Probes)
/Gh
(Profiling)
/Gs
(Stack Probes)
-a
(Data Alignment)
-K
(Unsigned Characters)
-u-
(Turn Off Generation of Underscores)
-N
(Test Stack Overflow)
-p
(Pascal Calling Convention)
-pr
(Register Calling Convention)
-fp
(Correct Pentium FDIV Flaw)
00ProRef.book : 06chap03.fm  Page 18  Monday, March 9, 1998  3:23 PM