Mailing List Archive

c2ph, OSF/1 Fix
FYI, another fix for c2ph OSF/1 machines using gcc

basically replace all occurences of

s/^\s*\.stabs

with

s/^\s*#*\.stabs

(just three places)


output of gcc -gstabs -S looks like:


gcc2_compiled.:
__gnu_compiled_c:
#.stabs "foo.c",100,0,0,$text32
.text
$text32:
#.stabs "int:t1=r1;-2147483648;2147483647;",128,0,0,0
#.stabs "char:t2=r2;0;127;",128,0,0,0
#.stabs "long int:t3=r1;0;-1;",128,0,0,0
#.stabs "unsigned int:t4=r1;0;-1;",128,0,0,0
#.stabs "long unsigned int:t5=r1;0;-1;",128,0,0,0
#.stabs "long long int:t6=r1;0;-1;",128,0,0,0
#.stabs "long long unsigned int:t7=r1;0;-1;",128,0,0,0


--
Eric Z. Ayers Phone: 404-705-2864
Computer Generation, Inc. FAX: 404-705-2805
5775 Peachtree-Dunwoody Rd., Building G, 4th Floor Atlanta, GA 30342
eric@compgen.com "That of which one cannot speak, one must not speak." -L.W.
Re: c2ph, OSF/1 Fix [ In reply to ]
my goodness. suddenly everyone is using a program that no one has
touche din years.

i really need to rewrite it to return objects.

--tom