An open API service indexing awesome lists of open source software.

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

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