| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | borland 1.5 on cd |
PE>Is there some way of making Borland C++ 1.5 for OS/2 run
PE> off CD? If I run it off CD, using "bcc", it fails to find
PE> . If I go "bcc -Ig:\bcos2\include zatest.c" then
PE> it compiles, but failes to link, because it can't find
PE> c02.obj. I could call tlink directly, but I really would
PE> like "bcc zatest.c" to work! I have tried everything
PE> obvious. BFN.
I don't know whether this is obvious enough but have you
set the INCLUDE and LIB environment variables to point to
the appropriate paths on the CD drive? I can't speak for
Borland, but I have C Set++ 2.1 and Watcom C/C++ 10.0a
running of the CD here. I achieve this by:
1) Set the LIBPATH in config.sys assuming that the
required CD is in the drive.
LIBPATH = .;E:\OS2\DLL;...;H:\WATCOM\BINP\DLL;
H:\WATCOM\SOM\LIB;H:\IBMCPP\DLL;
2) Having a command file to set the appropriate
environment variables for each compiler. My
csetenv.cmd file follows.
{at}ECHO OFF
SET PATH = %PATH%H:\IBMCPP\BIN;
SET DPATH = %DPATH%H:\IBMCPP\LOCALE;H:\IBMCPP\HELP;
H:\IBMCPP\SYS;
SET HELP = %HELP%H:\IBMCPP\HELP;
SET BOOKSHELF = %BOOKSHELF%H:\IBMCPP\HELP;
SET LIB = H:\IBMCPP\LIB;
SET INCLUDE = H:\IBMCPP\INCLUDE;H:\IBMCPP\IBMCLASS;
SET HELPNDX = DDE4LRM.NDX+DDE4SCL.NDX+DDE4UIL.NDX+DDE4CCL.NDX
+DDE4CLIB.NDX
3) I have an icon set up for each compiler which gives me
a command line with the relevant parameters set. I do
this by creating a new program object and placing a * in
the path and file name and a pointer to the command file
preceded by a /K in the parameters section. In my case
this is /K F:\BIN\OS2\CSETENV.CMD.
Using this setup I have no problem running either of the
aforementioned compilers straight from the CD. I do not
have or use Borland C++ for OS/2 1.5 so am unable to test
such a setup here for you. Hopefully this will help, but
your milage (or should that be kilometreage?) may vary.
Regards
David Galbraith
---
* Origin: Ragnorak (3:711/934.11)SEEN-BY: 711/809 934 @PATH: 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.