def METHOD_NAME(ctx):
    tool_paths = [
        tool_path(
            name = "gcc",
            path = "wrappers/x86_64-unknown-oak-gcc",
        ),
        tool_path(
            name = "ld",
            path = "wrappers/x86_64-unknown-oak-ld",
        ),
        tool_path(
            name = "ar",
            path = "wrappers/x86_64-unknown-oak-ar",
        ),
        tool_path(
            name = "cpp",
            path = "wrappers/x86_64-unknown-oak-cpp",
        ),
        tool_path(
            name = "gcov",
            path = "wrappers/x86_64-unknown-oak-gcov",
        ),
        tool_path(
            name = "nm",
            path = "wrappers/x86_64-unknown-oak-nm",
        ),
        tool_path(
            name = "objdump",
            path = "wrappers/x86_64-unknown-oak-objdump",
        ),
        tool_path(
            name = "strip",
            path = "wrappers/x86_64-unknown-oak-strip",
        ),
    ]
    default_compiler_flags = feature(
        name = "default_compiler_flags",
        enabled = True,
        flag_sets = [
            flag_set(
                actions = all_compile_actions,
                flag_groups = [
                    flag_group(
                        flags = [
                            "--sysroot=external/x86_64-unknown-oak",
                            "-no-canonical-prefixes",
                            "-fno-canonical-system-headers",
                        ],
                    ),
                ],
            ),
        ],
    )
    default_linker_flags = feature(
        name = "default_linker_flags",
        enabled = True,
        flag_sets = [
            flag_set(
                actions = all_link_actions,
                flag_groups = ([
                    flag_group(
                        flags = [
                            "--sysroot=external/x86_64-unknown-oak",
                            "-zmax-page-size=0x200000",
                            "-lstdc++",
                        ],
                    ),
                ]),
            ),
        ],
    )
    features = [
        default_compiler_flags,
        default_linker_flags,
    ]
    return cc_common.create_cc_toolchain_config_info(
        ctx = ctx,
        features = features,
        toolchain_identifier = "oak-toolchain",
        host_system_name = "local",
        target_system_name = "unknown",
        target_cpu = "unknown",
        target_libc = "unknown",
        compiler = "gcc",
        abi_version = "unknown",
        abi_libc_version = "unknown",
        tool_paths = tool_paths,
        builtin_sysroot = "../external/x86_64-unknown-oak",
    )