This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # A workaround I had to do while reading "Linux Kernel Development (3rd Edition)", which uses a *very* old kernel version. | |
| git checkout v2.6.39 | |
| cp include/linux/compiler-gcc4.h include/linux/compiler-gcc14.h | |
| # Make a local copy of the patch in this gist | |
| patch -p1 < v2.6-gcc-14.patch | |
| make clean | |
| make defconfig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def car(): | |
| print "hi" |