Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/16/10 18:43
Read: times


 
#175940 - omf smaller than hex
Responding to: ???'s previous message
Jan Waclawek said:
Erik Malund said:
The size of the .cdb seems right, but a .omf (the one with no extension from SDCC) that is smaller than the .hex (.ihx from SDCC) is impossible.

Why would that be impossible? How did you come to that conclusion? What makes you believe it is not "full"?

OMF is a binary format, whereas intelhex, as you know, is ASCII, inflating the size significantly. I assume a pure binary of your experiment would come out somewhere around 2-3kB.

.cdb is the native SDCC debug format, which is ASCII and rather sparse.


I fully agree. What made you think so? But take also into account that the OMF file only conforms to the original intel standard and not to the extended (Keil) format. So there is no type information and not even case sensitivity. We do not have a spec of the extended version and even if we had I don't know if it would be allowed to implement it.

Some figures of one of my projects:
hex file : 105 kB
cbd file : 773 kB
omf file : 59 kB

Erik Malund said:
why it comes out w/o extension

Intel made this choice when they invented it and it has been used by many other compiler sets after them including Keil I believe.

Erik Malund said:
and why .hex is .ihx

Intel did not define the extension for this file I believe and it historically grew this way. You can set it yourself b.t.w. with the -o option when linking.

Erik Malund said:
PS how can something with such a major defect even be considered a release. Who does the testing?

Apart from the daily regression tests we also test a release by putting it up for beta testing and ask users to test it. I myself usually try some of my larger projects with it. Then after a few weeks if nothing comes up it is released. We do not and can not claim that it is bugfree, but the brokenness you suggest here would surely have surfaced by now in our bugtracker.

Jan Waclawek said:
And, there is no formal process to assess the expectations of potential users, AFAIK. It would be hard to do that, given the number of developers and given that most (all) of them do this as a hobby, besides regular job. AFAIK there are no full-time-paid developers on SDCC nor massive corporate funding as gcc enjoys for example.

All sdcc developers are volunteers with a normal day job. We are not funded by anyone. I too hate the saying "you get what you pay for" but you're also not entitled to more than you already got. We usually give support but we cannot promise it. I also do not think you should fix it yourself just because you can. You are allowed and welcomed to fix it though.

What does hurt me is if people complain about it in a non-sdcc-owned forum without using the sdcc forum / tracker / mailing list. We cannot solve problems that we do not know about.

Maarten

List of 51 messages in thread
TopicAuthorDate
SDCC debug            01/01/70 00:00      
   version            01/01/70 00:00      
      2.9.0 #5416            01/01/70 00:00      
         humm            01/01/70 00:00      
            files            01/01/70 00:00      
               General Comments            01/01/70 00:00      
                  stating the problem            01/01/70 00:00      
               why would that be impossible?            01/01/70 00:00      
                  omf smaller than hex            01/01/70 00:00      
                     link, please            01/01/70 00:00      
                        links            01/01/70 00:00      
   played with the commandline options and ...            01/01/70 00:00      
      What do you mean by "blows in startup"?            01/01/70 00:00      
         goes to undefined memory and never reaches main            01/01/70 00:00      
            try one of these options            01/01/70 00:00      
               Thanks, It'll be a day or two            01/01/70 00:00      
                  SiLabs or not            01/01/70 00:00      
                     yes, SILabs            01/01/70 00:00      
                        breakpoint            01/01/70 00:00      
   found a cause, but ....            01/01/70 00:00      
      disassembly            01/01/70 00:00      
      not having _sdcc_external_startup            01/01/70 00:00      
      seems you feed SDCC with a Keil specific header file            01/01/70 00:00      
         false entry, sorry            01/01/70 00:00      
         reply            01/01/70 00:00      
            legal C reused by Keil            01/01/70 00:00      
               3 questions            01/01/70 00:00      
                  3 answers            01/01/70 00:00      
                     thnks for 3 answers and more stuff            01/01/70 00:00      
                        incomplete            01/01/70 00:00      
               since 'porting' to SDCC ...            01/01/70 00:00      
                  agreed!            01/01/70 00:00      
   neither works, what do I do            01/01/70 00:00      
      no problem at my place            01/01/70 00:00      
   I ma stuck on the next one            01/01/70 00:00      
      strings in C            01/01/70 00:00      
         Thanks, Jan ....            01/01/70 00:00      
            that's the kosher way            01/01/70 00:00      
         No, the string shall fit according to the C standard            01/01/70 00:00      
            indeed            01/01/70 00:00      
      bug found            01/01/70 00:00      
         read again            01/01/70 00:00      
         somehow the SDCC forum did not take my post...            01/01/70 00:00      
            sdcc.exe does return an error status            01/01/70 00:00      
               why would you think that?            01/01/70 00:00      
                  grep etc            01/01/70 00:00      
                     Unix goodies            01/01/70 00:00      
            sdcc forum post visible            01/01/70 00:00      
               what are you doing diffrently?            01/01/70 00:00      
                  DOS bat command gotcha            01/01/70 00:00      
                     Thanks Jan            01/01/70 00:00      

Back to Subject List