Chapter 3 Windows 95/NT Compiler/Linker Issues
©
National Instruments Corporation 3-19 LabWindows/CVI Programmer Reference Manual
Watcom C/C++
You must use the following options to override the default settings:
If your external object calls
LoadExternalModule or LoadExternalModuleEx, you must
also add the following compiler option:
-d__NO_MATH_OPS
You must not use the following option to override the default settings:
Symantec C/C++
You must use the following options to override the default settings:
You must not use the following options to override the default settings:
Note
Certain specialized options can generate symbol references that cause link errors
in LabWindows/CVI. If you encounter a link error on a symbol in a module you
compiled in an external compiler and you do not recognize the symbol, try
changing your external compiler options.
-ei
(Force Enums to Type Int)
-bt=nt
(Target Platform is Windows 95/NT)
-mf
(Flat Memory Model)
-4s
(80486 Stack-Based Calling)
-s
(Disable Stack Depth Checking)
-j
(Change Char Default to Signed)
-fpi87
(Generate In-Line 80x87 Code)
-Zp
(Structure Alignment)
-mn
(Windows 95/NT Memory Model)
-f
(Generate In-Line 80x87 Code)
-a
(Struct Alignment)
-P
(Use Pascal Calling Convention)
-s
(Check Stack Overflow)
00ProRef.book : 06chap03.fm Page 19 Monday, March 9, 1998 3:23 PM