Lx4U-book/docs/build-temp-system/m4.md
makpif 868070f7b5 Update _sidebar.md
Add files via upload
2021-05-02 10:34:26 +03:00

49 lines
874 B
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" showsbu></package-info>
<script>
new Vue({
el: '#main',
data: { package: {} },
mounted: function () {
this.getPackage('m4');
},
methods: {
getPackage: function(name) {
getPackage(name)
.then(response => this.package = response);
},
}
})
</script>
## Сборка
Во первых примените исправление для новых версий glibc:
```bash
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
```
Запустите скрипт `configure`:
```bash
./configure --prefix=/usr \
--host=$LIN_TGT \
--build=$(build-aux/config.guess)
```
Соберите пакет:
```bash
make
```
## Установка
Для установки m4 выполните:
```bash
make DESTDIR=$LIN install
```