Turning off case checking when linking
Neil Frank via gcc-help
gcc-help@gcc.gnu.org
Thu Aug 9 23:57:00 GMT 2018
Gentlemen,
Thank you for your input but I found an option, -i, which turns off case sensitivity so I've made it past one problem but have a new one. Seems I'm getting a message "m68k-motorola-coff-ld: link errors found, deleting executable 'system.abs'." Anyway to turn on another option to detail the error causing this message? It is proceeded by another message, "fake: relocation truncated to fit: DISP16 maovfsub."
Again, any thoughts as I can't seem to find any solutions for this problem. Yes, I'm compiling/linking for a 68k processor board.
Sincerely,Neil Frank(408) 464-5498
On Monday, August 6, 2018, 1:02:02 PM EDT, David Brown <david@westcontrol.com> wrote:
On 06/08/18 16:23, Jonathan Wakely wrote:
> On Sat, 4 Aug 2018 at 17:04, Neil Frank via gcc-help
> <gcc-help@gcc.gnu.org> 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.
More information about the Gcc-help
mailing list