docs (README): move stuff around/troubleshooting section

This commit is contained in:
kevinnls
2021-08-16 12:48:35 +00:00
parent de2260d5ba
commit 87ef6ff55c

View File

@@ -28,14 +28,6 @@ so you can (_cough_ have to) compile it yourself
both of which you most likely got when installing your compiler
if for some reason you don't have it and your compilation fails
##### Debian / Ubuntu / family
install the package named `libc6-dev`
##### RHEL / Fedora / CentOS family
install the package named `glibc-devel`
##### other
sorry no idea. Google will be your friend tho
#### compilation
```shell
gcc -o stdouterr ./src/main.c
@@ -55,6 +47,22 @@ cp ./stdouterr ~/bin
cp ./stdouterr /usr/local/bin
```
#### troubleshooting
<details>
<summary>
compilation failed because no such file `stdio.h` and/or `stdlib.h`
</summary>
##### Debian / Ubuntu / family
install the package named `libc6-dev`
##### RHEL / Fedora / CentOS family
install the package named `glibc-devel`
##### other
sorry no idea. Google will be your friend tho
</details>
### contributing
not licensed yet. but there isn't really a lot of "unique" code to license 🤷