https://github.com/370network/pax-s920
ProlinOS/PAX S920 compatible toolchain suite
https://github.com/370network/pax-s920
homebrew paxdevs
Last synced: 2 months ago
JSON representation
ProlinOS/PAX S920 compatible toolchain suite
- Host: GitHub
- URL: https://github.com/370network/pax-s920
- Owner: 370network
- License: mit
- Created: 2024-10-29T09:56:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-29T03:49:56.000Z (6 months ago)
- Last Synced: 2025-12-31T23:37:59.601Z (6 months ago)
- Topics: homebrew, paxdevs
- Language: C
- Homepage: https://forum.370.network/viewtopic.php?p=137
- Size: 30.9 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ProlinOS/PAX toolchain
## setup instructions
### debian/ubuntu 64bit specific
install multiarch support
```bash
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
```
### common for all platforms
make sure you have `python3`, `python3-venv`, `wget`, `git`, `swig`, `openssl`+devel *(`qemu-user-static`/`qemu-arm-static` for possibly running executables)* installed
```bash
./setup_toolchain.sh
```
continue *(or start on your next session)* with
```bash
source env.sh
```
## commands
### paxpush
used as a shorter alias for the xcb command
```bash
paxpush
```
*eg. paxpush osal_test.c /data/app/MAINAPP/libosal.so*
### paxpull
used as a shorter alias for the xcb command
```bash
paxpull
```
*eg. paxpull /usr/lib/libcbinder.so libcbinder.so*
### paxls
used as a shorter alias for the xcb command
```bash
paxls
```
*eg. paxls /data/app/MAINAPP*
### paxdump
used as a shorter alias for the xcb command
```bash
paxdump
```
*eg. paxdump mydump*
The resulting dump will be stored in `dumps/` inside the working directory.
## building homebrew
~~download using the homebrew downloader (coming soon or never)~~
traverse into the `homebrew` folder, pick your desired port and run `./install.sh`, `./build.sh` or `make`
some ports (mainly libs)* contain both `./install.sh` and `./build.sh` because you can save time by just installing it instead of building them
## additional official docs
see [pax-docs](https://github.com/370network/pax-s920/tree/main/pax-docs)
## headers
### xui.h
half baked and handmade header file for nearly all libxui.so relevant functions. For (partial) usage, look at xui_test.c
### osal.h
header file for all libosal.so relevant functions. For usage, look at osal_test.c
### prolin-printf.h
header file use as redefinition of printf with flush to stdout.
`-include prolin-printf.h` in cflags for global usage across projects