You can technically use any library routine that does not rely on an existing operating system environment. However a lot of the library routines (most) do and will need to be written for your OS.
Because you will end up writing most of the standard library anyways, the recommended approach is to create your own libraries or compile an existing CRT to your OS.