mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
userland: convert make to python
This commit is contained in:
28
README.adoc
28
README.adoc
@@ -502,8 +502,8 @@ Now rebuild GCC, the program and re-run it:
|
||||
and the new ouptut is now:
|
||||
|
||||
....
|
||||
j = 0
|
||||
i = 2
|
||||
j = 0
|
||||
....
|
||||
|
||||
We need to use the ugly `-final` thing because GCC has to packages in Buildroot, `-initial` and `-final`: https://stackoverflow.com/questions/54992977/how-to-select-an-override-srcdir-source-for-gcc-when-building-buildroot No one is able to example precisely with a minimal example why this is required:
|
||||
@@ -5992,7 +5992,7 @@ Bibliography: https://stackoverflow.com/questions/8516021/proc-create-example-fo
|
||||
|
||||
===== /proc/version
|
||||
|
||||
Its data is shared with `uname()`, which is a POSIX C function and has a Linux syscall to back it up.
|
||||
Its data is shared with `uname()`, which is a <<posix,POSIX C>> function and has a Linux syscall to back it up.
|
||||
|
||||
Where the data comes from and how to modify it:
|
||||
|
||||
@@ -8195,7 +8195,7 @@ TODO a large chunk of tests, the Open POSIX test suite, is disabled with a comme
|
||||
|
||||
==== stress
|
||||
|
||||
POSIX userland stress. Two versions:
|
||||
<<posix>> userland stress. Two versions:
|
||||
|
||||
....
|
||||
./build-buildroot \
|
||||
@@ -13117,6 +13117,28 @@ TODO: OpenMP does not like `-static`:
|
||||
|
||||
See: https://stackoverflow.com/questions/23869981/linking-openmp-statically-with-gcc
|
||||
|
||||
===== userland cheats
|
||||
|
||||
We have accumulated considerable material in the following userland subjects.
|
||||
|
||||
====== C
|
||||
|
||||
Programs under link:userland/c/[] are examples of link:https://en.wikipedia.org/wiki/ANSI_C[ANSI C] programming.
|
||||
|
||||
[[cpp]]
|
||||
====== C++
|
||||
|
||||
Programs under link:userland/cpp/[] are examples of link:https://en.wikipedia.org/wiki/C%2B%2B#Standardization[ISO C] programming.
|
||||
|
||||
====== POSIX
|
||||
|
||||
Programs under link:userland/posix/[] are examples of POSIX C programming.
|
||||
|
||||
What is POSIX:
|
||||
|
||||
* https://stackoverflow.com/questions/1780599/what-is-the-meaning-of-posix/31865755#31865755
|
||||
* https://unix.stackexchange.com/questions/11983/what-exactly-is-posix/220877#220877
|
||||
|
||||
==== buildroot_packages directory
|
||||
|
||||
Source: link:buildroot_packages/[]
|
||||
|
||||
Reference in New Issue
Block a user