Build Command

By default uclang build will compile to UCodeVM being 32 or 64 bit if the current cpu is 32 or 64.

if path not provided it will use the working directory as its input and use a UCodeModule Project in it to Compile.

The exit is 0 if compilation succeed or 1 for compilation fail.

Example

uclang build -c89
uclang build -uvm:x86_64
FlagextraDescription
-01nonebuilds using using optimizations for Size.
-02nonebuilds using using optimizations for Speed.
-03nonebuilds using using optimizations for Maximum speed.
-ndebugnonedisable debug mode and removes debug Symbols
-32noneSets build Target as 32bit Machine
-64noneSets build Target as 64bit Machine
-c11nonebuild using C BackEnd.
-wasmnonebuild using the wasm BackEnd.
-irnoneOutputs the IR.
-uvmthis,x86_64,x86,x86,arm_64,armBuild Native Code for the UCodeVm the .ulib can run on any Operating system(Most of the time) for that cpu chip.
-nativethis,linux,windows,macBuild Native Code Executable