mirror of
https://github.com/tailix/libkernaux.git
synced 2024-12-04 11:25:18 -05:00
Improve README.md
This commit is contained in:
parent
a252be4db2
commit
da90e4f202
1 changed files with 7 additions and 6 deletions
13
README.md
13
README.md
|
@ -68,15 +68,16 @@ environment.
|
|||
|
||||
Create configuration script with `./autogen.sh`.
|
||||
|
||||
Configure with [cross-compiler](https://wiki.osdev.org/GCC_Cross-Compiler) in
|
||||
`$PATH` to make without it in `$PATH`:
|
||||
Let's assume that your target triplet is `i386-elf`. Configure with
|
||||
[cross-compiler](https://wiki.osdev.org/GCC_Cross-Compiler) in `$PATH` to make
|
||||
without it in `$PATH`:
|
||||
|
||||
```
|
||||
./configure \
|
||||
--host='i386-elftailix' \
|
||||
AR="$(which i386-elftailix-ar)" \
|
||||
CC="$(which i386-elftailix-gcc)" \
|
||||
RANLIB="$(which i386-elftailix-ranlib)" \
|
||||
--host='i386-elf' \
|
||||
AR="$(which i386-elf-ar)" \
|
||||
CC="$(which i386-elf-gcc)" \
|
||||
RANLIB="$(which i386-elf-ranlib)" \
|
||||
CFLAGS='-ffreestanding -nostdlib -fno-builtin -fno-stack-protector'
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue