PDA

View Full Version : can someone explain this?


ajooba215
16-02-2008, 07:04 AM
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?

khattam_
16-02-2008, 09:43 AM
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

ajooba215
16-02-2008, 03:11 PM
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
16-02-2008, 03:40 PM
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
PATH=C:\BORLAND\BIN;%PATH%
DOSKEY /INSERT


bcc32.cfg
Same thing, just replace the location
-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
-v-
-x
-L"C:\BORLAND\LIB;C:\BORLAND\LIB\PSDK"

ajooba215
27-02-2008, 10:58 PM
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>

khattam_
28-02-2008, 03:46 AM
you mentioned earlier that your path is c:\Borland\Bcc55, now why are you trying C:\borland55\bcc55??

slugger
29-02-2008, 07:00 AM
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

ajooba215
29-02-2008, 10:29 PM
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