mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 22:10:44 +00:00
A program built with the mingw-w64 runtime gets argc, argv and envp for main from __p___argc, __p___argv, __p__environ, _configure_narrow_argv and _initialize_narrow_environment. None resolved, so the loader refused the program before its entry point, and a host could not say what the program's arguments are. The five services are added to the typed registry, and ServicesState::set_program_arguments lets a host supply argv. The environment table is empty. Part of Gate A2. Signed-off-by: zachdoxsee <zachdoxsee36@gmail.com>