RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    lr-mame requires gcc 5

    Scheduled Pinned Locked Moved Help and Support
    bugissuecompile failedlr-mame
    10 Posts 4 Posters 3.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Tasio
      last edited by

      lr-mame requires gcc 5 to compile, you can see that here
      https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/libretrocores/lr-mame.sh
      My up to date retropie has gcc 4.4.38-v7

      On the other hand, lr-mame2016 compiles and works fine with some games.

      1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator
        last edited by

        raspbian jessie doesn't have gcc 5, so i guess the options are:

        1. install gcc 5 manually (this seemed hard when i looked into it a while ago)
        2. wait for raspbian stretch (maybe 1st half of this year? i don't think they've announced a release date)
        3. get someone with gcc5 and a pi3 to build a binary.

        i hear that current versions of gcc have more ARM optimisations so i want to try it out, but it seems like a hassle to get it installed...

        1 Reply Last reply Reply Quote 0
        • J
          joyrider3774
          last edited by

          can't we crosscompile on the pc ?

          i did not try setting up a crosscompiler for my pi yet, though i never did that before. With other systems i used to get a binary build of a toolchain for windows when doing this in the past for the gp2x, wiz, cannoo.

          Will have to look into this once because compiling on the pi tiselve takes way too long

          dankcushionsD 1 Reply Last reply Reply Quote 0
          • dankcushionsD
            dankcushions Global Moderator @joyrider3774
            last edited by

            @joyrider3774 absolutely, but yeah can be a bit of a challenge. if anyone can figure it out and give some instructions that would be ace! i guess @BuZz has set one up to create the binaries.

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators
              last edited by

              It would be possible to cross compile or build a newer gcc on the rpi, but it's not worth the effort imho -what is in lr-mame that isn't in lr-mame2016 that you need ?

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              T 1 Reply Last reply Reply Quote 0
              • T
                Tasio @BuZz
                last edited by

                @BuZz I just wanted to test if some games works best there but the main reason of this post is to report the non working installer

                BuZzB 1 Reply Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators @Tasio
                  last edited by

                  @Tasio How do you mean non-working ? The installing intentionally fails if an older gcc is found.

                  lr-mame2016 is quite new enough to use vs a mame no more than 6 months newer or so.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    Tasio @BuZz
                    last edited by

                    @BuZz sorry what I mean is that retropie doesn't meet the requirements to instal lr-mame, may be it should be removed from the installation menu or find a workaround to install lr-mame.

                    BuZzB 1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators @Tasio
                      last edited by BuZz

                      @Tasio it works on retropie on other operating systems other than Raspbian. I dont have a quick fix to hide it based on version of gcc installed so it just does the check on install.

                      RetroPie is not just an pre-made image for the Raspberry Pi.

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        Tasio @BuZz
                        last edited by

                        @BuZz that make sense, I forgot that RetroPie is not exclusive for Raspbian.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.