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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/08/06 21:05
Read: times


 
#115822 - Linker???
Responding to: ???'s previous message
Michael Ruoppoli said:
I have been reading my a@% off trying to find in the compiler (SDCC) and linker(ASX8051)

What is "ASX8051"??

A very quick bit of searching leads me to suspect that it is not a Linker at all, but an Assembler

what I am doing wrong.

If the above is correct, you are using completely the wrong tool!

If I try to seperate into one main and two function files all compile ok build ok but the lst files are not combined.

What are you trying to do?
Why would the list files be combined?

A Compiler only ever compiles a single compilation unit (basically, a source file) - so the list file will only ever reflect the compilation of that single source file!
It is the Linker's job to combine all the Object files into a single image.

   0024 12s00r00            674     lcall   _ow_reset
                    0027    675 	C$TempTest.c$60$2$2 ==.


That's exactly the kind of thing I'd expect to see in a relocatable Object file that needs to be passed through a Linker/Locator!

List of 21 messages in thread
TopicAuthorDate
Linker problem using SDCC            01/01/70 00:00      
   Linker???            01/01/70 00:00      
      Linker!            01/01/70 00:00      
   I doubt SDCC would do that            01/01/70 00:00      
      Ok not the linker?            01/01/70 00:00      
         Sorry forgot to mention that I am using            01/01/70 00:00      
         Compiler & Linker            01/01/70 00:00      
         Nothing linked            01/01/70 00:00      
            SDCC File types            01/01/70 00:00      
            Linker problem            01/01/70 00:00      
               Then what is the problem?            01/01/70 00:00      
                  Simulator only sees the "main" program            01/01/70 00:00      
                     simulator and/or IDE problem?            01/01/70 00:00      
   Maybe this will illustrate ...            01/01/70 00:00      
      BiPOM says            01/01/70 00:00      
         SDCC new release?            01/01/70 00:00      
            Q2            01/01/70 00:00      
               SDCC new Release Q2 -            01/01/70 00:00      
   where is this code?            01/01/70 00:00      
      I used --no-peep SDCC            01/01/70 00:00      
         linking multiple files            01/01/70 00:00      

Back to Subject List