[ros-dev] [ros-diffs] [hyperion] 36761: added lib/rtl/rtl-common.rbuild modified lib/rtl/rtl.rbuild Compile rtl twice, as rtl_umode and rtl_kmode. Allows conditional compilation of RTL (finally!), instead of necessitating hacks like RtlpGetMode() "rtl" mod

KJK::Hyperion hackbunny at reactos.com
Wed Oct 15 22:04:22 CEST 2008


Alex Ionescu wrote:
> Well, you just removed the one thing ReactOS did different from NT and
> that I thought was really revolutionary and innovative, because it
> saves on compile time

revolutionary, innovative and stupid. You get "PAGE" sections in ntdll
for no good reason, really stupid function calls instead of conditional
compilation, and gross hacks like locks being declared large enough to
fit both a FAST_MUTEX and a RTL_CRITICAL_SECTION. A less "revolutionary"
and "innovative" solution that I'd endorse would be to split RTL into
several libraries, one of which containing all code that's independent
from the mode. And you'd _still_ have to compile a separate version for
host tools


More information about the Ros-dev mailing list