Lx4U-book/docs/build-temp-system/binutils-p2.md
makpif 885e75dc9a
Update binutils-p2.md
я решил что это костыль от ошибки которая была у меня, но у меня была проблема с хостом
2021-05-05 19:35:02 +03:00

58 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<package-info :package="package" ></package-info>
<script>
new Vue({
el: '#main',
data: { package: {} },
mounted: function () {
this.getPackage('binutils');
},
methods: {
getPackage: function(name) {
getPackage(name)
.then(response => this.package = response);
},
}
})
</script>
## Подготовка
В документации пакета {{package.name}} рекомендуется использовать отдельную директорию для сборки:
```bash
mkdir -v build
cd build
```
## Настройка
```bash
../configure \
--prefix=/usr \
--build=$(../config.guess) \
--host=$LIN_TGT \
--disable-nls \
--enable-shared \
--disable-werror \
--enable-64-bit-bfd
```
### Для MultiLib
Добавьте параметр ``--enable-multilib``
## Сборка
```bash
make
```
## Установка
```bash
make DESTDIR=$LIN install -j1
install -vm755 libctf/.libs/libctf.so.0.0.0 $LIN/usr/lib
```