This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ELF & DWARF information

I am compiling a .elf file for an ARM7 processor and including the -gDWARF-2, for a Nohau emulator.

I recently modified my directory structure so my sources are in sub-directories.

This has caused the DWARF information to inlclude the directory information (AP_Source/main.c, for example).

The problem is the forward slash "/" because gcc is unix based and my emulator software is DOS based.

Is there anyway to force the GNU DWARF output to omit any path information?

Thanks,

Al

0