mirror of
https://github.com/takeshixx/redstar-tools
synced 2025-07-17 20:43:21 +00:00
Added files
This commit is contained in:
11
libos/README.md
Normal file
11
libos/README.md
Normal file
@ -0,0 +1,11 @@
|
||||
# libos
|
||||
|
||||
## Compile
|
||||
|
||||
1. gcc -c -Wall -Werror -fpic libos.c
|
||||
2. gcc -shared -o libos.so.0.0.0 libos.o
|
||||
|
||||
## Install
|
||||
|
||||
1. Move new libos.so.0.0.0 to /usr/lib/libos.so.0.0.0
|
||||
2. Link /usr/lib/libos.so.0.0.0 to /usr/lib/libos.so.0
|
3
libos/libos.c
Normal file
3
libos/libos.c
Normal file
@ -0,0 +1,3 @@
|
||||
int validate_os(){
|
||||
return 1;
|
||||
}
|
Reference in New Issue
Block a user