1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-12-04 11:25:18 -05:00

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

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: