76e722b1af9b354899880048f2ed6580caa5de38
[fw/sdcc] / doc / bccinst.txt
1 Building SDCC with Borland C++ under Windows
2
3 1: Build SDCC under Cygwin as documented in cygwininst.txt (this is
4 necessary in order to run all the necessary configuration steps).
5
6 2: If necessary, modify support\gc\BCC_Makefile to point to your Borland
7 C++ installation.
8
9 3: From the sdcc directory, run the command "make -f Makefile.bcc". This
10 should regenerate all the .exe files in the bin directory except for
11 sdcdb.exe (which currently doesn't build under Borland C++).
12
13 4: If you modify any source files and need to rebuild, be aware that the
14 dependancies may not be correctly calculated. The safest option is to
15 delete all .obj files and run the build again. From a Cygwin BASH
16 prompt, this can easily be done with the commmand:
17
18  'find . -name "*.obj" -print | xargs rm'
19
20 from the sdcc directory.