From: Jesus Calvino-Fraga <JesusC@ec...> - 2003-07-03 01:10:02
The answer is in a message I posted in 2002-11-30:
which I reproduce here for convenience:
>Hi, There is a problem, a bug if you will, with the aslink generated cdb
>file for the 8051 port. Suppose I am linking these four files 'a.rel',
>'b.rel', 'c.rel', and 'd.rel', created after compiling the corresponding C
>files with option --debug. This also creates the corresponding cdb files
>for each module. Then the linker (called with option --debug too) combines
>all these cdb files and saves them to 'a.cdb'. The problem is that if the
>files are linked again, say after recompiling any but the first file
>'a.cdb', the cdb files are recombined and written to 'a.cdb' again.
>Therefore 'a.cdb' keeps growing and growing, and of course the information
>it contains becomes redundant and likely incorrect.
>One solution to this problem would be to recompile 'a.cdb' anytime one of
>the other files is compiled. Of course that is not very practical. Other
>solution would be either to change the linker so it writes the linked cdb
>file with a different extension, say 'ldb', or change the assembler so it
>writes the cdb file with a different extension, say 'adb'.
>Any other solutions, preferences, opinions? Thanks in advance,
And that is why we have adb and cdb files now.
At 08:41 PM 7/2/2003 -0400, you wrote:
>I should probably know this, but does anyone know why there are two
>different extentions for these, when they appear to be the same data ?
Get latest updates about Open Source Projects, Conferences and News.