Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 1068 -
(4) Type following command to compile test program.
wcl /ml /fp3 hello.c
Confirm that the displayed compiler version is one of following.
WATCOM C/C++16 Compile and Link Utility Version 10.5 or
Watcom C/C++16 Compile and Link Utility Version 11.0.
Also confirm that the linker displays the following message while linking.
creating a DOS executable
This process makes a DOS executable file "HELLO.EXE".
(5) Execute "HELLO.EXE", then a message, "Hello, World!", will be displayed.
2.2 For developing on Windows95 or WindowsNT4.0
Followings are the ways to install Watcom 11.0. If you use Watcom 10.5,
install by the same way as Watcom 11.0.
(1) Set Watcom C/C++ CD-ROM in the PC, and execute "SETUP.EXE" in the
root directory via "Explorer", etc.
(2) The dialog box to select the target directory is displayed, and then
specify appropriate directory. (Keep default if need not change.)
Following is the example when being installed into C:\WATCOM directory.
+-------------------------------------------------+
| Install Watcom C/C++ in: [C:\WATCOM ] |
+-------------------------------------------------+
(3) The dialog box to select the way to install is displayed. And then choose
"Selective installation".
+------------------------------------------------------+
| Watcom C/C++ will be installed in 'C:\WATCOM' |
| |
| ( ) Full installation |
| ( ) Full installation leaving help files on CD-ROM |
| (*) Selective installation |
| ( ) Minimal CD-ROM installation |
+------------------------------------------------------+
(4) The dialog box to select installed components is displayed. And then
check "Include 16-bit compilers".
+---------------------------------------------------+
| Select components to install: |
| (Un-selected components will be removed) |
| |
| [X] Include 16-bit compilers: 16-Bit... |
| 32-bit compiler options: 32-Bit... |
| Target operating systems: Target... |
| Host operating systems: Host... |
| Toolkits and other components: Other... |
+---------------------------------------------------+