Hi there folks,
I have been struggling for a few days now to get scons to use an alternate version of gcc that I have installed in my home directory on a Ubuntu workstation. I have tried editing the rosetta_source31/tools/build/user.settings and edited the program_path to import the current $PATH which includes the gcc compiler (compatible) with Rosetta, but it still fails to find it. I have also tried editing SConstruct, and added pointers to point to gcc and g++ but still no luck. The last thing I did, which I didn't really want to do, was to change the gcc and g++ symlinks in /usr/bin to point to the alternate gcc/gpp pairs. This works but requires root privledges and isn't really a clean way of getting Rosetta to compile.
Can someone please advise what a clean way would be to let scons find the alternate gcc version which I can provide to it as a parameter or edit a configuration file?
Thanks so much.