Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
install:nix [2018/04/14 14:22] – [Errors] Mention normal/expected errors when building libmozjs digital man | install:nix [2018/07/24 15:16] – [Clean Rebuild] Refer to src/cleanall.sh digital man |
---|
====== Clean Rebuild ====== | ====== Clean Rebuild ====== |
| |
Occasionally, you may need to perform a //clean// rebuild. A clean build can generally be achieved by first executing "''[[install:nix:make|make]] RELEASE=1 clean''" in the ''src/sbbs3'' and ''src/sbbs3/scfg'' directories before performing your normal ''make'' command-lines (step 4 above), but sometimes (rarely) the clean command will need to be executed in one or all of the following directories first (e.g. when dependent files are deprecated and removed from CVS): | Occasionally, you may need to perform a //clean// rebuild. A clean build can generally be achieved by first executing: |
* src/comio | src/cleanall.sh RELEASE=1 |
* src/conio | |
* src/smblib | |
* src/uifc | |
* src/xpdev | |
| |
**Note**: | **Note**:\\ |
If you elect to build //debug// binaries (instead of //release// binaries), then you'll need to exclude the ''RELEASE=1'' portion from your ''make clean'' commands. Otherwise, you'll be cleaning the ''*.release'' output directories when you really need to be cleaning the ''*.debug'' output directories. Likewise, if you're building and running //release// binaries, then you need to include the ''RELEASE=1'' portion on the ''make clean'' commands as well. Alternatively, you can set your default build type in the file ''localdefs.mk''. The ''localdefs.mk'' file should be created by you in either in the ''src/build'' directory (to apply to //all// bulids), or within each directory you run ''make'': | If you elect to build //debug// binaries (instead of //release// binaries), then you'll need to //exclude// the ''RELEASE=1'' portion from the ''cleanall.sh'' command. Otherwise, you'll be cleaning the ''*.release'' output directories when you really need to be cleaning the ''*.debug'' output directories. Likewise, if you're building and running //release// binaries, then you need to //include// the ''RELEASE=1'' portion on the ''cleanall.sh'' commandsas well. Alternatively, you can set your default build type in the file ''localdefs.mk''. The ''localdefs.mk'' file should be created by you in either in the ''src/build'' directory (to apply to //all// builds), or within each directory you run ''make'': |
RELEASE=1 | RELEASE=1 |
===== See Also ===== | ===== See Also ===== |