[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RTEMS cscope



Ed Sutter wrote:
> Has anyone tried to build a cscope file list for
> a particular bsp?
> Is there any way to know what source files are included in a build
> aside from just going through the output of make?
> 

You could try 'nm' with something like:

  $ m68k-rtems-nm --demangle --print-file-name my-elf-file | \
     awk "/ / { if (\$4) print \$4; }"

with the particular target tool for you.

-- 
  Chris Johns, cjohns at cybertec.com.au