code: def generate(env):
      
      cplusplus.generate(env)
  
      if acc:
          env['CXX']        = acc or 'aCC'
          env['SHCXXFLAGS'] = SCons.Util.CLVar('$CXXFLAGS +Z')
          # determine version of aCC
          line = os.popen(acc + ' -V 2>&1').readline().rstrip()
          if line.find('aCC: HP ANSI C++') == 0:
              env['CXXVERSION'] = line.split()[-1]
  
          if env['PLATFORM'] == 'cygwin':
              env['SHCXXFLAGS'] = SCons.Util.CLVar('$CXXFLAGS')
          else:
              env['SHCXXFLAGS'] = SCons.Util.CLVar('$CXXFLAGS +Z')
docs: Add Builders and construction variables for g++ to an Environment.