This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: case insensitive for #include


"H.J. Lu" <hjl.tools@gmail.com> writes:

> Say I have
>
> #include "Foo/Foo.h"
>
> I want to map it to foo/foo.h on disk. Can I map Foo to foo with
> header.gcc in directory, foo?

Yes.  Put this at top level (i.e., in the same directory where the
directory "foo" is):

Foo/Foo.h foo/foo.h

Then #include "Foo/Foo.h" will open foo/foo.h.

You do have to compile with the -remap option.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]