Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matteyeux/linux-stuff
Linux stuff
https://github.com/matteyeux/linux-stuff
kernel linux
Last synced: 25 days ago
JSON representation
Linux stuff
- Host: GitHub
- URL: https://github.com/matteyeux/linux-stuff
- Owner: matteyeux
- Created: 2017-12-18T21:23:28.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-17T09:09:45.000Z (over 6 years ago)
- Last Synced: 2024-11-10T15:39:56.688Z (3 months ago)
- Topics: kernel, linux
- Language: Shell
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# linux
pic.patch : used to fix this error when building kernel with GCC 5+(?):
```
$ make
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
kernel/bounds.c:1:0: error: code model kernel does not support PIC mode
/*Kbuild:44: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
Makefile:987: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
```
To apply patch : `patch Makefile pic.patch`
It forces no-pie for distro compilers that enable pie by default## cutter
[Cutter](https://github.com/radareorg/cutter) is a [radare2](https://github.com/radareorg/radare2) GUI.#### Build from sources :
Install some packages :
- cmake
- qt5-default
- libqt5svg5-dev
- gitTo build we first need to install radare2 :
- clone radare2 : `git clone https://github.com/radareorg/radare2`
- cd to radare2 directory then run install script : `cd radare2; ./sys/install.sh; cd ..`Once r2 is built we can now build cutter :
- clone cutter : `git clone https://github.com/radareorg/cutter`
- cd to src and create a new dir then run `cmake` from this dir, like this : `cd src; mkdir build && cd build`
- run cmake and make : `cmake ..; make`