Article # 119, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Running SDK from CD-ROM or network
To run an SDK from a CD-ROM or network drive: Set two environment variables in DOS: LOCAL_ROOT : this is where your local application development tree lives ROOT_DIR : the root of the CD-ROM/network SDK tree e.g., if you're running the SDK off the E:\ drive: but your local development tree is C:\N9000C\APPL, then set: set LOCAL_ROOT=E:\PCGEOS set ROOT_DIR=C:\N9000C\APPL Then alter your path to include your ROOT_DIR\BIN: set PATH=%ROOT_DIR%\BIN;%PATH% NOTE: If E:\ is a CD-ROM drive, then when you compile, you must pass the -Hu flag to BCC, which will disable the generation of precompiled header files (*.poh and *.doh) in the ROOT_DIR\INCLUDE directory: this directory is unwritable on a CD-ROM! To pass this flag to BCC, create a LOCAL.MK file in your source directory like this: # # Pass -Hu flag to BCC to prevent generation of precompiled # header files (*.poh, *.doh) in the INCLUDE directory # CCOMFLAGS += -Hu # # Include the standard makefile # #include <$(SYSMAKEFILE)>