Common startup and C runtime setup code
