targets/toolchain_gcc.py
changeset 1742 92932cd370a4
parent 1740 b789b695b5c6
child 1753 19f19c66b67e
equal deleted inserted replaced
1741:dd94b9a68c61 1742:92932cd370a4
   184 
   184 
   185                         self.CTRInstance.logger.write("   [CC]  "+bn+" -> "+obn+"\n")
   185                         self.CTRInstance.logger.write("   [CC]  "+bn+" -> "+obn+"\n")
   186 
   186 
   187                         status, result, err_result = ProcessLogger(
   187                         status, result, err_result = ProcessLogger(
   188                                self.CTRInstance.logger,
   188                                self.CTRInstance.logger,
   189                                "\"%s\" -c \"%s\" -o \"%s\" %s %s"%
   189                                "\"%s\" -c \"%s\" -o \"%s\" %s %s" %
   190                                    (self.compiler, CFile, objectfilename, Builder_CFLAGS, CFLAGS)
   190                                    (self.compiler, CFile, objectfilename, Builder_CFLAGS, CFLAGS)
   191                                ).spin()
   191                                ).spin()
   192 
   192 
   193                         if status:
   193                         if status:
   194                             self.srcmd5.pop(bn)
   194                             self.srcmd5.pop(bn)
   213 
   213 
   214             self.CTRInstance.logger.write("   [CC]  " + ' '.join(obns)+" -> " + self.exe + "\n")
   214             self.CTRInstance.logger.write("   [CC]  " + ' '.join(obns)+" -> " + self.exe + "\n")
   215 
   215 
   216             status, result, err_result = ProcessLogger(
   216             status, result, err_result = ProcessLogger(
   217                    self.CTRInstance.logger,
   217                    self.CTRInstance.logger,
   218                    "\"%s\" %s -o \"%s\" %s"%
   218                    "\"%s\" %s -o \"%s\" %s" %
   219                        (self.linker,
   219                        (self.linker,
   220                         listobjstring,
   220                         listobjstring,
   221                         self.exe_path,
   221                         self.exe_path,
   222                         ALLldflags)
   222                         ALLldflags)
   223                    ).spin()
   223                    ).spin()