It can sometimes beĭifficult to understand the assumptions the kernel has on the toolchainĪnd the extensions that it uses, and unfortunately there is noĭefinitive reference for them. Arbitrary long longĭivisions and floating point are not allowed. Portions of the C standard are not supported. The kernel is a freestanding CĮnvironment, with no reliance on the standard C library, so some While itĪdheres to the ISO C89 standard, it uses a number of extensions that are "The kernel is written using GNU C and the GNU toolchain. > And if I compile with normal integers, I get zero as the result. > (double)b)? It gives me strange errors when compiling: Why can't I divide with regular casting to double ((double)a / $(CC) $(CFLAGS) systeminfo.> I'm new to kernel development and have some questions. Glibtop_get_proclist(
0 Comments
Leave a Reply. |