On Mon, 18 Dec 2017 20:24:52 +0100 (CET)
Michael Matz <[email protected]> wrote:
> > I've built 0.9.27 for x86_64 and tried a see if debugging works, but:
> >
> > $ cat true.c
> > int main() { return 0; }
> >
> > $ tcc true.c -g -o true
>
> Above works for me (with 0.9.27 release and others). The .stabs debug
> info of the executable says:
>
> % objdump -g true
> true.c:
> <undefined> main ()
> { /* 0x4002c0 */
> /* file /matz/git/tinycc/true.c line 1 addr 0x4002c0 */
> /* file /matz/git/tinycc/true.c line 1 addr 0x4002cb */
> } /* 0x4002d2 */
>
true.c:
<undefined> main ()
{ /* 0x0 */
/* file true.c line 1 addr 0x0 */
/* file true.c line 1 addr 0xb */
} /* 0x12 */
maybe it's because i use musl libc ?
thanks for your reply.
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel