update README
This commit is contained in:
parent
9408bc53bc
commit
c9ceb18681
11
README.md
11
README.md
|
@ -36,18 +36,13 @@ libimg can be installed with [GiteaPC](https://gitea.planet-casio.com/Lephenixno
|
|||
|
||||
## Compiling and installing libimg manually
|
||||
|
||||
Building libimg for the calculator requires a SuperH compiler. If you have `sh-elf-gcc`, then you're ready to go. libimg will be compiled for both fx-9860G (Graph 35+E-like) and fx-CG 50 (Graph 90+E), and it will install itself in the proper compiler-managed directory.
|
||||
libimg should be built with the [fxSDK](/Lephenixnoir/fxsdk), which provides the tools and settings needed to compile for the calculator.
|
||||
|
||||
```
|
||||
% make
|
||||
% make install
|
||||
% fxsdk build-fx install
|
||||
% fxsdk build-cg install
|
||||
```
|
||||
|
||||
If you have an older setup with `sh3eb-elf` and/or `sh4eb-elf`, edit the configuration file `libimg.conf` before building, as follows:
|
||||
|
||||
* Set either the `target-fx` or `target-cg` line to use the proper compiler.
|
||||
* If you need to completely disable one of the platforms, comment out the line that sets `lib-fx` or `lib-cg`.
|
||||
|
||||
Additionally, this repository has a simple testing system for Linux in the `testing` folder.
|
||||
|
||||
* Use `make` from that folder to compile `main.c` into a `libimg` executable that reads RGB565 bitmap files into `img_t` images and performs a few transforms.
|
||||
|
|
Loading…
Reference in New Issue