• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 466 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
    tsukisuperior
    last edited by 13 Jun 2021, 19:16

    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

    B 1 Reply Last reply 16 Jun 2021, 00:53 Reply Quote 0
    • B
      BuZz administrators @tsukisuperior
      last edited by 16 Jun 2021, 00:53

      @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
      1 out of 2
      • First post
        1/2
        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.

        This community forum collects and processes your personal information.
        consent.not_received