tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Debug info in linking


From: xlono01
Subject: [Tinycc-devel] Debug info in linking
Date: Mon, 04 Oct 2010 15:47:07 +0200

Hi,
Please what is wrong with this?

>tcc -g test.c -L.
>copy test.exe test1.exe
        1 file(s) copied.
>tcc -g -c test.c
>tcc -g test.o -L.
>copy test.exe test2.exe
        1 file(s) copied.
>tcc test.o -L.
>copy test.exe test3.exe
        1 file(s) copied.

> cksum test*.exe
2227703240 3072 test1.exe
629199517 3072 test2.exe
3322364492 2048 test3.exe
>

Is this a bug or did I miss something?

To avoid misunderstandings, I'll try to explain what I meant.
The test1.exe is supposed to contain debugging information, which it does, that is ok.
The test2.exe is in my oppinion is also supposed to contain debugging information, it 'sort of' does, but there is some problem with it.
The test3.exe is not supposed to contain any debugging information, it doesn't and that is ok.

I looked inside the .exe files, I am not that familiar with tcc internals, but if I understand it correctly, then in test2.exe the debugging information section (symbol table) is present but for some reason it is empty.

With regards,
  Ondrej
reply via email to

[Prev in Thread] Current Thread [Next in Thread]