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

    Make RetroPie-Setup obey $CC and $CXX

    Scheduled Pinned Locked Moved Help and Support
    setupinstallerdebian
    2 Posts 2 Posters 488 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.
    • tsukisuperiorT
      tsukisuperior
      last edited by

      On my PC, Retropie Setup just seems to force everything to use gcc when i have the CC and CXX set to something else

      export CCACHE_PREFIX="distcc"
      
      export CC="ccache x86_64-linux-gnu-gcc" CXX="ccache x86_64-linux-gnu-g++"
      

      Compiling all this alone is a problem on my core 2 duo

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

        @tsukisuperior can use

        sudo CC="whatever" ./retropie_setup.sh
        

        This may not work for all modules as some module code may override it.

        distcc can be used automatically by setting DISTCC_HOSTS="192.168.0.1/4,lzo" etc in the same way. It will get added to start of system PATH and added to MAKEFLAGS also.

        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

        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.