__FILE__ relative path?
__FILE__ relative path?
- Subject: __FILE__ relative path?
- From: Alex Eddy <email@hidden>
- Date: Thu, 10 Mar 2005 06:07:14 -0800
Is it possible to get gcc to output just the source file name for
__FILE__, without the entire absolute path?
e.g. "foo.c" instead of "Users/somebody/project/source/subfolder/foo.c"?
Comparing some large source trees built with both Codewarrior and gcc,
it looks like CW does this, but I don't see any flag to make gcc do
it...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden