[Scons-users] Trouble Finding GCC
Waqar, Faaiq G
faaiq.waqar at gatech.edu
Mon Sep 16 13:51:10 EDT 2024
Hello Scons Community,
I am working on the tool Gem5, working within a container (using Apptainer) to set up all necessary dependencies. Within my SConscript file, I have the following lines
main.Tool(SCons.Tool.FindTool(['gcc', 'clang'], main))
main.Tool(SCons.Tool.FindTool(['g++', 'clang++'], main))
Which unfortunately throw the following error:
main.Tool(SCons.Tool.FindTool(['gcc', 'clang'], main))
File "/usr/lib/python3/dist-packages/SCons/Environment.py", line 2033:
tool(self)
I am able to run GCC outside this with no problems, and which gcc returns the path to the version of gcc I am intending on using. I have had no luck finding this issue online, so I was wondering if anyone knows why this might be happening. I appreciate any insights you can provide. Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20240916/2b13e10c/attachment.htm>
More information about the Scons-users
mailing list