Jyotsna Chitri

Linking Codewarrrior Libraries using command line

Discussion created by Jyotsna Chitri on Mar 31, 2009
Latest reply on Apr 1, 2009 by Rich Testardi

Hi,

I was trying to link pre built runtime libraries using command line,but the libraries have calls to functions defined in other init files,Is there a neat way of linking them recursively?


$(SYSTEM).elf: $(OBJ_FILES)
        @echo ==== Creating $(SYSTEM).out from obj files ====
 $(LINK_TOOL)  $@ $(LINK_TOOL_OPTS) $(LFLAGS)

The LFLAGS has names of the libraries.Could you anyone suggest a way to link the libraries which have calls to functions listed in the $(OBJ_FILES)?I have trie dto use $^ -o  option but my make cannot see it as a valid command.

Thanks

Outcomes