OK, now that's solved, but I still get this:
File "/usr/bin/gcc", line 9, in <module>
if not output:
NameError: name 'output' is not defined
My gcc:
#!/usr/bin/env python
import os, sys
os.system("realgcc " + " ".join(sys.argv[1:]))
for i in range(0,len(sys.argv)-1):
if sys.argv == "-o":
output = sys.argv[i+1]
break
if not output:
output = "a.out"
os.system("ldid -S %s" % output)
Thanks for the support