Just a little tool created in python to automate the proccess of downloading & building Pa.
PBuild is avaliable for Windows, Linux and Mac os under the releases section.
Get the zip version suitable for your platform.
There is only one prerequisite, PBuild needs a C compiler to build with, more details in the Commands build section.
The zip contains exactly 1 one file. PBuild is a command line tool, it means you can only use it via your console or terminal.
- version: This command is used of course, to display either the latest version from Pa repository or the one installed in your computer.
pbuild version
pbuild version --latest
- download: This command will download Pa repository as a zipfile into your computer, and extracts it into your PC's home directory.
pbuild download
- build: This command builds the downloaded repository, it takes a required option specifiying the compiler to use. There is only 2 compilers supported as of now:
Gnu Compiler Collection (gcc)
Tiny C Compiler (tcc)
Example:
pbuild build --cc-type=gcc
{+}: After building is finished, The Pa executable will be located in (you-home-directory)/Pa/bin
folder.