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:
parent
8dd90fb226
commit
84dd7ca542
1 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue