PDA

View Full Version : [SOLVED] case insensitive compiling with gcc?



vgokul
November 6th, 2009, 09:20 AM
Hello all,
I have a bunch of files where the headers included do not match the case of the header file names. While compiling gcc cannot find these files because of the case mismatch. I cannot change the original files so what I do is to cp these files to the correct case before and remove them after compiling using a make file.

Is there any compiler option that enables case insensitive compiling with gcc?

Regards
V.Gokul

samjh
November 6th, 2009, 10:20 AM
No, there is no case-insensitive compilation option for gcc.

Tony Flury
November 6th, 2009, 11:51 AM
Why can't you change the file names permanently ?

nvteighen
November 6th, 2009, 03:15 PM
Why can't you change the file names permanently ?
Maybe permission issues? If so, ask the owner of those files to allow you modify those names.

vgokul
November 9th, 2009, 11:31 AM
Maybe permission issues? If so, ask the owner of those files to allow you modify those names.
That is correct. I am not the owner of the files.

Just wanted to be sure that I am not missing any obvious solution.

Thank you.

Arndt
November 9th, 2009, 11:39 AM
That is correct. I am not the owner of the files.

Just wanted to be sure that I am not missing any obvious solution.

Thank you.

An alternative to copying may be to make symbolic links.