---------------------------------------------------------------------- --- Knud van Eeden --- 29 September 2003 - 00:53 pm ------------------ Computer: Language: Compiler: C++: Borland: Compiler: Command: Line: Install: How to install the free Borland command line compiler? [download / bcc32.exe / parameter] --- This is the same compiler as used in the older version of Borland C++ Builder. === Steps: Overview: 1. download the free command line compiler from www.borland.com. http://edn.embarcadero.com/article/21205 then click on 'Borland C++ 5.5 Free Command-line Tools' Otherwise get the latest Embarcadero / Borland free command line compiler here: https://www.embarcadero.com/free-tools/ccompiler 2. to install, after downloading, type on the command line: freecommandlinetools.exe then follow the instructions. This will create, by default, a directory: 'c:\borland\bcc55' 3. to find the compiler executable 'bcc32.exe', possibly add to the DOS environment PATH: SET PATH=%PATH%;c:\borland\bcc55\bin Note: adapt this file path to the conditions on your computer 4. create e.g. the following batch file ( and save this e.g. as 'bcc55.bat' ): --- cut here: begin --------------------------------------------------@REM: the following all on on line c:\borland\bcc55\bin\bcc32.exe -Ic:\borland\bcc55\include -Lc:\borland\bcc55\lib %1.cpp @IF errorlevel=1 GOTO fail %1.exe @GOTO end :fail @ECHO. @ECHO. @ECHO. @ECHO There where errors found while compiling your program. @ECHO. @ECHO Could not compile to .exe... @ECHO. @ECHO. :end @PAUSE--- cut here: end ---------------------------------------------------- 5. to compile and run, type on the command line: <your batch filename> <your cpp filename> e.g. to compile the file 'helloword.cpp', type: bcc55.bat helloworld e.g. to compile the file 'testaddress.cpp', type: bcc55.bat testaddress === Book: see also: === Diagram: see also: === File: see also: === File: version: control: see also: === Help: see also: === Image: see also: === Internet: see also: --- Borland: Community http://community.borland.com/article/0,1410,20997,00.html --- Borland: Community http://community.borland.com/article/0,1410,21205,00.html --- Borland: Community http://community.borland.com/article/0,1410,21422,00.html --- Borland: Community http://community.borland.com/article/0,1410,20633,00.html --- Borland: Community http://apurvaslair.50g.com/cpp/compilers/borland.html --- Computer: Language: Compiler: C++: Operation: Search: Replace: Expression: Regular: How to create a regular expression using the free Borland C++ command line compiler bcc32 v5.5? http://www.knudvaneeden.com/tinyurl.php?urlKey=url000364 === Podcast: see also: === Record: see also: === Screencast: see also: === Table: see also: === Video: see also: === <version>1.0.0.0.4</version> ----------------------------------------------------------------------
![]() |