parameters: (self,host_arch, target_arch)
return_statement: return file
docstring: Return the script to initialize the VC compiler installed by SDK
docstring_summary: Return the script to initialize the VC compiler installed by SDK
docstring_tokens: Return the script to initialize the VC compiler installed by SDK
function: def get_sdk_vc_script(self,host_arch, target_arch):
          """ Return the script to initialize the VC compiler installed by SDK
          """
  
          if (host_arch == 'amd64' and target_arch == 'x86'):
              # No cross tools needed compiling 32 bits on 64 bit machine
              host_arch=target_arch
          
          arch_string=target_arch
          if (host_arch != target_arch):
              arch_string='%s_%s'%(host_arch,target_arch)
              
          debug("sdk.py: get_sdk_vc_script():arch_string:%s host_arch:%s target_arch:%s"%(arch_string,
                                                             host_arch,
                                                             target_arch))
          file=self.vc_setup_scripts.get(arch_string,None)
          debug("sdk.py: get_sdk_vc_script():file:%s"%file)
          return file
function_tokens: def get_sdk_vc_script ( self , host_arch , target_arch ) : if ( host_arch == 'amd64' and target_arch == 'x86' ) : # No cross tools needed compiling 32 bits on 64 bit machine host_arch = target_arch arch_string = target_arch if ( host_arch != target_arch ) : arch_string = '%s_%s' % ( host_arch , target_arch ) debug ( "sdk.py: get_sdk_vc_script():arch_string:%s host_arch:%s target_arch:%s" % ( arch_string , host_arch , target_arch ) ) file = self . vc_setup_scripts . get ( arch_string , None ) debug ( "sdk.py: get_sdk_vc_script():file:%s" % file ) return file