gcc: neverbuild, Buildroot can rebuild it :-)

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-03-10 00:00:00 +00:00
parent 23f80c2310
commit c382ecf3f7
5 changed files with 95 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#your-first-binutils-hack */
#include <assert.h>
#include <inttypes.h>

13
userland/gcc_hack.c Normal file
View File

@@ -0,0 +1,13 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#your-first-gcc-hack */
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int i = 1;
int j = 1;
i++;
j--;
printf("i = %d\n", i);
printf("j = %d\n", j);
}