can someone explain this?

Status
Not open for further replies.

ajooba215

Journeyman
hey guys...i started learning c++ on my own...and have downloaded borland c++ compiler...now after unpacking the compiler...i got this text file....explaining some of the steps to get it done....now i understood the last ones.....but couldn`t get the first one...can anyone pls help me out and explain me....what is he trying to tell me to do.....?

Installing and running the Command Line Tools
--------------------------------- From the bin directory of your installation:
a. Add "c:\Borland\Bcc55"
to the existing path
b. Create a bcc32.cfg file which will set
the compiler options for the Include
and Lib paths (-I and -L switches to
compiler) by adding these lines:
-I"c:\Borland\Bcc55\include"
-L"c:\Borland\Bcc55\lib"
c. Create an ilink32.cfg file which will set
the linker option for the Lib path by
adding this line:
-L"c:\Borland\Bcc55\lib"


what does this mean....add c:\borland\bcc55 to the existing path?
 
K

khattam_

Guest
Its "c:\borland\bcc55" adding to an env variable "path"

Goto Right Click My Computer>Properties>Advanced>Environment Variables, and in path you should see "c:\borland\bcc55" separated by semicolon amongst others
 
OP
ajooba215

ajooba215

Journeyman
hey thanx mate but can u pls tell me further..in enironmental variables....should i add another variable with path"c:/borland/bcc55"....and if yes....in user variables or system variables?
 

slugger

Banned
i prefer creating the three files - StartBC.bat OR StartBC.cmd, bcc32.cfg, ilink32.cfg
i find it easier to modify the BATCH file l8r to add sumthin

just copy-paste the codes in a notepad file and save it with the proper extension

StartBc.bat
Replace C:\BORLAND\BIN with the location of the bin folder in your computer
Code:
PATH=C:\BORLAND\BIN;%PATH%
DOSKEY /INSERT

bcc32.cfg
Same thing, just replace the location
Code:
-I"C:\BORLAND\INCLUDE"
-L"C:\BORLAND\LIB;C:\C:\BORLAND\LIB\PSDK"
-P
-v-
-w
-DWINVER=0x0400
-D_WIN32_WINNT=0x0400

ilink32.cfg
Again the location
Code:
-v-
-x
-L"C:\BORLAND\LIB;C:\BORLAND\LIB\PSDK"
 
OP
ajooba215

ajooba215

Journeyman
dude..im not able to run the compiler successfully...i replaced all those three files....and added a shortcut at the desktop....and added "C:\borland55\bcc55"...to the target file...now when i try to run it.....this message is displayed....
THE SYSTEM CANNOT FIND THE PATH SPECIFIED
C:\WINDOWS>
 
K

khattam_

Guest
you mentioned earlier that your path is c:\Borland\Bcc55, now why are you trying C:\borland55\bcc55??
 

slugger

Banned
run the file StartBC.bat thru command prompt

if it is runnin without any problem den it means the three files were proplery created

also verify ur short cut
 
OP
ajooba215

ajooba215

Journeyman
its done guys..luks like i`ve troubled u for too long...its ma first time...i m automobile eng..jus wanted to get cozzy with prog...and i`ve managed to run the compiler...thanx for ur help and support guys..have fun
 
Status
Not open for further replies.
Top Bottom