|
The topics that will be covered in this hands-on session are:
RosBE Commands Summary
A more 'complete' RosBE commands and their options are summarized in the following Table.
|
Command usage |
Description and options |
||
make [OPTIONS] |
Make does a standard build of ReactOS. OPTIONS are the standard ReactOS build options.
[OPTIONS] |
||
|
all |
This target builds all of ReactOS. |
|
|
module |
Builds only the module with the appropriate name. |
|
|
bootcd |
Generates a BootCD ISO. |
|
|
livecd |
Generates a LiveCD ISO. |
|
|
install |
Installs ReactOS in the folder specified by the environment variable ROS_INSTALL. |
|
|
module_install |
Installs only the module with the appropriate name in the folder specified by the environment variable ROS_INSTALL. |
|
|
clean |
Deletes all files generated by the build process. |
|
|
module_clean |
Deletes only the files of one module with the appropriate name. |
|
|
depends |
Does a full dependency check on the ReactOS Source and generates a new makefile. This will take a while. |
|
|
module_depends |
Does a dependency check for one module with the appropriate name. |
|
|
|
||
makex [OPTIONS] |
Same as 'make' but automatically determines the number of CPU Cores in the system and uses make -j x with the appropriate number. OPTIONS are the standard ReactOS build options:
[OPTIONS] |
||
|
all |
This target builds all of ReactOS. |
|
|
module |
Builds only the module with the appropriate name. |
|
|
bootcd |
Generates a BootCD ISO. |
|
|
livecd |
Generates a LiveCD ISO. |
|
|
install |
Installs ReactOS in the folder specified by the environment variable ROS_INSTALL. |
|
|
module_install |
Installs only the module with the appropriate name in the folder specified by the environment variable ROS_INSTALL. |
|
|
clean |
Deletes all files generated by the build process. |
|
|
module_clean |
Deletes only the files of one module with the appropriate name. |
|
|
depends |
Does a full dependency check on the ReactOS Source and generates a new makefile. This will take a while. |
|
|
module_depends |
Does a dependency check for one module with the appropriate name. |
|
|
|
NOTE: The number makex uses can be modified by editing Build.cmd located in the RosBE directory, instructions for doing so are contained within the file. |
|
|
|
||
basedir |
Switch back to the ReactOS source directory. |
||
|
|
||
charch [OPTIONS] |
Change the Architecture to build ReactOS for the current RosBE session. Possible Architectures are: i386, ppc, arm, amd64. |
||
|
|
||
chdefdir [OPTIONS] |
Change the ReactOS source directory for the current RosBE session.
[OPTIONS] |
||
|
previous |
Switch to the previous ReactOS source directory. |
|
|
|
||
chdefgcc [OPTIONS] |
Change the Host or Target MinGW/GCC directory for the current RosBE session.
[OPTIONS] |
||
|
Path |
Path to set the Host or Target GCC to. |
|
|
Type |
Set it to target or host |
|
|
|
||
clean [OPTIONS] |
Fully clean the ReactOS source directory and/or the RosBE build logs.
[OPTIONS] |
||
|
all |
Removes build logs and compiler output in the RosBE-Logs directory. |
|
|
logs |
Removes all build logs in the RosBE-Logs directory. |
|
|
|
All other commands will be parsed as make module_clean and cleans the specific module. |
|
|
|
||
config [OPTIONS] |
Configures the way, ReactOS will be built.
[OPTIONS] |
||
|
delete |
Deletes the created configuration file and so sets back to default settings. |
|
|
rbuild |
Switches to RBuild Flag setting mode. |
|
|
update |
Deletes the old created configuration file and updates it with a new, default one. |
|
|
|
||
help [COMMAND] |
Display the available commands or give help on a specific command. |
||
|
|
||
kdbg [LOGFILE] [PIPE] |
Outputs KDBG Debug Output and lets you give debug commands to it. WRITELOG - Outputs the Log File to .\DBG-Tue 11/23/2010-21:57:08.43.txt. |
||
|
|
||
raddr2line [FILE] [ADDRESS] |
Translates program addresses into file names and line numbers to assist developers with finding specific bugs in ReactOS. If either of the options is not given you will be prompted for it. |
||
|
FILE |
This can be either a fully specified path or just the file name [you can use a partial name ie. ntdll*] of the executable to be analyzed. When using just a file the current directory and all sub-directories are searched. |
|
|
ADDRESS |
The address to be translated. |
|
|
|
||
remake [OPTIONS] |
Cleans one or several specific modules and immediately rebuilds it cleanly. [OPTIONS] - One or more Module names to rebuild. |
||
|
|
||
remakex [OPTIONS] |
Cleans one or several specific modules and immediately rebuilds it cleanly and multi-threaded. [OPTIONS] - One or more Module names to rebuild. |
||
|
|
||
scut [OPTIONS] |
List, add, edit, remove, switch and default to shortcut ReactOS source directories.
[OPTIONS] |
||
|
list |
Lists all shortcuts and their paths. |
|
|
add |
Adds a shortcut. (Optional: SHORTCUT PATH as the second and third parameters) |
|
|
rem |
Removes a shortcut. (Optional: SHORTCUT as the second parameter) |
|
|
edit |
Edits a shortcut. (Optional: SHORTCUT PATH as the second and third parameters) |
|
|
def |
Sets the default shortcut which is enabled on every start of RosBE. 'Default' is the source directory as you know it from previous versions. |
|
|
|
||
ssvn [OPTIONS] |
Create, update or clean-up your ReactOS source tree or show the revision number of the local and online trees.
[OPTIONS] |
||
|
update |
Updates to HEAD revision or to a specific one when the second parameter specifies one. |
|
|
create |
Creates a new ReactOS source tree. |
|
|
rosapps |
Creates / Updates a ReactOS RosApps source tree. |
|
|
rostests |
Creates / Updates a ReactOS RosTests source tree. |
|
|
cleanup |
Cleans up and fixes errors in the source tree. |
|
|
status |
Show the current local and online revision numbers. |
|
|
|
||
options |
Starts the RosBE configurator and sets the changes active immediately. |
||
|
|
||
update [OPTIONS] |
Updates RosBE to the most recent files.
[OPTIONS] |
||
|
delete X |
Deletes Update Nr X. |
|
|
info X |
Shows info about Update Nr X. |
|
|
nr X |
Re/Installs Update Nr X. |
|
|
reset |
Removes the Updates Cache. Not recommended. |
|
|
status |
Shows the recent status of available, non installed updates. |
|