__BASENAME__?

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

 



Does gcc have a way to emit just the basename of __FILE__? I realize that the string literals are only emitted once per module, and that passing them to a function such as basename can strip them down any way that I want, but I'm really asking for the rodata savings, as the path to my source files is often quite long.

Something like __FILENAME__ or __BASENAME__ rather than __FILE__

Thanks for any tips .,.. John



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux