{
    "content": [
        {
            "type": "text",
            "text": "# PERLRISCOS (man)\n\n## NAME\n\nperlriscos - Perl version 5 for RISC OS\n\n## DESCRIPTION\n\nThis document gives instructions for building Perl for RISC OS. It is complicated by the need\nto cross compile. There is a binary version of perl available from\n<http://www.cp15.org/perl/> which you may wish to use instead of trying to compile it\nyourself.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **BUILD**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "PERLRISCOS",
        "section": "",
        "mode": "man",
        "summary": "perlriscos - Perl version 5 for RISC OS",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "BUILD",
                "lines": 29,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "perlriscos - Perl version 5 for RISC OS\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This document gives instructions for building Perl for RISC OS. It is complicated by the need\nto cross compile. There is a binary version of perl available from\n<http://www.cp15.org/perl/> which you may wish to use instead of trying to compile it\nyourself.\n",
                "subsections": []
            },
            "BUILD": {
                "content": "You need an installed and working gccsdk cross compiler <http://gccsdk.riscos.info/> and\nREXEN <http://www.cp15.org/programming/>\n\nFirstly, copy the source and build a native copy of perl for your host system.  Then, in the\nsource to be cross compiled:\n\n1.\n$ ./Configure\n\n2.  Select the riscos hint file. The default answers for the rest of the questions are\nusually sufficient.\n\nNote that, if you wish to run Configure non-interactively (see the INSTALL document for\ndetails), to have it select the correct hint file, you'll need to provide the argument\n-Dhintfile=riscos on the Configure command-line.\n\n3.\n$ make miniperl\n\n4.  This should build miniperl and then fail when it tries to run it.\n\n5.  Copy the miniperl executable from the native build done earlier to replace the cross\ncompiled miniperl.\n\n6.\n$ make\n\n7.  This will use miniperl to complete the rest of the build.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Alex Waugh <alex@alexwaugh.com>\n\n\n\nperl v5.34.0                                 2026-06-23                                PERLRISCOS(1)",
                "subsections": []
            }
        }
    }
}