mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-01-23 22:42:26 +08:00
commit
90b08a8885
50
docs/build-system/m4.md
Normal file
50
docs/build-system/m4.md
Normal file
@ -0,0 +1,50 @@
|
||||
<package-info :package="package" showsbu2></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-2.28 и новее:
|
||||
|
||||
```bash
|
||||
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c
|
||||
echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
|
||||
```
|
||||
|
||||
## Настройка
|
||||
```
|
||||
./configure --prefix=/usr
|
||||
```
|
||||
|
||||
## Сборка
|
||||
|
||||
```
|
||||
make
|
||||
```
|
||||
|
||||
## Тестирование
|
||||
```
|
||||
make check
|
||||
```
|
||||
|
||||
## Установка
|
||||
```
|
||||
make install
|
||||
```
|
||||
|
||||
## Установленные программы:
|
||||
`m4`
|
Loading…
Reference in New Issue
Block a user