Forum Discussion
Altera_Forum
Honored Contributor
14 years agoNo... Just compile your other program with the relevant .h files, and add:
-Wl,--just-symbols=$(OBJ_DIR)/prog_2.elf to the build so that it has all the sybols available. Or extract a subset of the symbols using nm or objdump -t (or read the elf symbol table directly yourself). I specify that (and -Wl,--no-warn-mismatch) to link a linux ppc binary with the symbol table of the nios code. It also gets the nios code+data embedded into its data areas (generated by a couplye of objcopy commands).