Re: Mac OS X 10.6 Fixed compilation can, but not use debug option(-g).
Shin'ichi Ichikawa <chan <at> vivi-vine.org>
2010-12-29 14:17:08 GMT
Following the problem of debugging information.
$ pcc -g pcc_test.c
ld: warning: can't find atom for N_GSYM stabs ___stdinp:G15=*1 in
/tmp/ctm.6FCtvW
ld: warning: can't find atom for N_GSYM stabs ___stdoutp:G15 in /tmp/ctm.6FCtvW
ld: warning: can't find atom for N_GSYM stabs ___stderrp:G15 in /tmp/ctm.6FCtvW
ld: warning: can't find atom for N_GSYM stabs _sys_nerr:G1 in /tmp/ctm.6FCtvW
ld: warning: can't find atom for N_GSYM stabs
_sys_errlist:G16=ar1;0;-10202;17=*2 in /tmp/ctm.6FCtvW
$ pcc -g -S pcc_test.c
$ cat pcc_test.s
.LL82:
.stabs "___stdinp:G15=*1",32,0,8,0
.stabs "___stdoutp:G15",32,0,8,0
.stabs "___stderrp:G15",32,0,8,0
.stabs "/usr/include//stdio.h",132,0,0,.LL83
.LL83:
.stabs "/usr/include//stdio.h",132,0,0,.LL84
.LL84:
.stabs "/usr/include//stdio.h",132,0,0,.LL85
.LL85:
.stabs "_sys_nerr:G1",32,0,4,0
.stabs "_sys_errlist:G16=ar1;0;-10202;17=*2",32,0,0,0
.stabs "/usr/include//stdio.h",132,0,0,.LL86
2010/12/29 Shin'ichi Ichikawa <chan <at> vivi-vine.org>:
> Hi, fixed typo and side effects of exname().
(Continue reading)