Re: Turning off case checking when linking

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

 



On 06/08/18 16:23, Jonathan Wakely wrote:
> On Sat, 4 Aug 2018 at 17:04, Neil Frank via gcc-help 
> <gcc-help@xxxxxxxxxxx> wrote:
>> 
>> 
>> To whom it may concern, I'm using GNU to compile a mix of assembly
>> and C code (old code managed by numerous people) but keep running
>> into what should be an easy problem to resolve.  The assembly
>> variables/subroutine calls are in upper case and C calls the same
>> variables/subroutines but they are in lower case.  So when GNU
>> attempts to link the code files together I get a lot of undefined
>> reference messages.  So how do I configure GNU compiler/linker to
>> ignore the case and just assume the variables/routines are the same
>> if have the same name, regardless of case?  I've tried to use the
>> "--ignore-case" option and GNU fails to recognize the command.
> 
> I don't think this is supported by the GNU tools. You'll need to fix 
> the source so the case matches in the C and assembly code.
> 

If the number of symbols involved is small, it might be possible to list
them as aliases somewhere.



[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