Lines Matching refs:tmpfile
690 tmpfile = os.path.join(self.build_temp, 'multiarch')
694 '%s -print-multiarch > %s 2> /dev/null' % (CC, tmpfile))
698 with open(tmpfile) as fp:
701 os.unlink(tmpfile)
715 tmpfile = os.path.join(self.build_temp, 'multiarch')
720 (opt, tmpfile))
723 with open(tmpfile) as fp:
730 os.unlink(tmpfile)
756 tmpfile = os.path.join(self.build_temp, 'wrccpaths')
759 ret = run_command('%s --print-search-dirs >%s' % (CC, tmpfile))
762 with open(tmpfile) as fp:
772 os.unlink(tmpfile)
777 tmpfile = os.path.join(self.build_temp, 'ccpaths')
782 ret = run_command('LC_ALL=C %s -E -v - </dev/null 2>%s 1>/dev/null' % (CC, tmpfile))
788 with open(tmpfile) as fp:
808 os.unlink(tmpfile)
1041 tmpfile = os.path.join(self.build_temp, 'readline_termcap_lib')
1055 do_readline, tmpfile))
1057 ret = run_command("ldd %s > %s" % (do_readline, tmpfile))
1061 with open(tmpfile) as fp:
1072 if os.path.exists(tmpfile):
1073 os.unlink(tmpfile)