Add instructions to build and install with cross-compilter to README

This commit is contained in:
Alex Kotov 2020-11-29 21:01:11 +05:00
parent 8dd90fb226
commit 84dd7ca542
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 7 additions and 0 deletions

View File

@ -33,6 +33,13 @@ Configure with cross-compiler in `$PATH` to make without it in `$PATH`:
To install into specific directory use full path:
`DESTDIR="$(pwd)/dest" make install` instead of `DESTDIR=dest make install`.
When configured with cross-compiler, library can't be build and installed with
just `make && sudo make install`. Instead use the folloding commands:
* `make libkernaux.a`
* `sudo make install-libLIBRARIES`
* `sudo make install-data`
Check if compilation targets i386: `objdump -d src/arch/i386.o`. It should
output something like this: