RTEMS cscope

Chris Johns cjohns at cybertec.com.au
Tue Jul 29 00:52:08 UTC 2003


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




More information about the users mailing list