Mandatory linking of all modules in a library in CodeWarrior HCS12(X) v4.6

Discussion created by Guest on May 11, 2007
Latest reply on May 15, 2007 by CompilerGuru
Does anybody know how to force the Smart Linker to link all modules inside a library file?
 
Tha manual says:
 
    you need only to specify a '+' after the name of the module in the NAMES block:
 
    NAMES
       myFile1.o+ myFile2.o+ start.o ansi.lib
    END
 
which works for the individual modules but it does not seem to work if you do:
 
    NAMES
      myLib.lib+ start.o ansi.lib
    END
 
i.e. the mandatory linking doesn't seem to apply to the modules in the library.
 
I am specifically trying to force the linking of all modules in "ansisf.lib".
 
Can anybody shed some light on this?

Outcomes