2.4.6 Building SDCC Using Borland

Next: 2.4.7 Windows Install Using Up: 2.4 Building SDCC Previous: 2.4.5 Building SDCC Using Contents Index

## 2.4.6 Building SDCC Using Borland

1. From the sdcc directory, run the command "make -f Makefile.bcc". This should regenerate all the .exe files in the bin directory except for SDCDB and ucSim.
2. If you modify any source files and need to rebuild, be aware that the dependencies may not be correctly calculated. The safest option is to delete all .obj files and run the build again. From a Cygwin BASH prompt, this can easily be done with the command (be sure you are in the sdcc directory):
   find . \( -name '*.obj' -o -name '*.lib' -o -name '*.rul' \) -print -exec rm {} \;
   or on Windows NT/2000/XP from the command prompt with the command:
   del /s *.obj *.lib *.rul from the sdcc directory.