[DEBUG] gcc version number error
This commit is contained in:
parent
35d514e9a9
commit
0ba120d0d9
@ -120,6 +120,10 @@ class Target:
|
||||
|
||||
def create_number_from_version_string(self, data):
|
||||
list = data.split(".")
|
||||
if len(list) == 1:
|
||||
list.append("0")
|
||||
if len(list) == 2:
|
||||
list.append("0")
|
||||
out = 0;
|
||||
offset = 1000**(len(list)-1)
|
||||
for elem in list:
|
||||
@ -149,7 +153,8 @@ class Target:
|
||||
if ret == False:
|
||||
debug.error("Can not get the g++/clang++ version ...")
|
||||
self.xx_version = self.create_number_from_version_string(ret)
|
||||
debug.debug(self.config["compilator"] + "++ version=" + str(ret) + " number=" + str(self.xx_version))
|
||||
debug.warning("plop " + self.xx)
|
||||
debug.warning(self.config["compilator"] + "++ version=" + str(ret) + " number=" + str(self.xx_version))
|
||||
|
||||
self.ld = self.cross + "ld"
|
||||
self.nm = self.cross + "nm"
|
||||
|
@ -56,7 +56,7 @@ class Target(lutinTarget.Target):
|
||||
|
||||
|
||||
tmpOsVal = "64"
|
||||
gccVersion = "4.8"
|
||||
gccVersion = "4.9"
|
||||
if lutinHost.BUS_SIZE==64:
|
||||
tmpOsVal = "_64"
|
||||
if self.config["compilator"] == "clang":
|
||||
|
Loading…
x
Reference in New Issue
Block a user