Mail Archives: djgpp/2015/09/29/00:51:11
On 09/28/2015 10:07 PM, Wiktor S. (wswiktorSP AT Mpoczta DOT fm) [via djgpp AT delorie DOT com] wrote:
>> The issue reported by user cannot be reproduced on any system where I
>> can check.
>> It may be a bash issue or a sed issue, but without accurate
>> knownledge about
>> the user's system it becomes impossible to reproduce and to debug.
>
> I made a clean install of DJGPP from all the files you have listed, and everything compiles.
>
> Although it does not work.
>
> 'as' compiles a bit of ARM assembly, the resulting .o looks like an ELF, but is not recognized by
> ld nor objdump.
>
> perhaps this is a makefile or #ifdef problem and some wrong constants are picked.
>
> I won't have time to pursue this, at least for now.
>
> "does not work due to bugs" is the outcome of the experiment :-)
>
>
>
Go some ARM assembler sample:
https://community.arm.com/groups/processors/blog/2010/02/11/hello-world-in-assembly
and tried with my Linux build for the same target and DJGPP host (under DOSBOX).
Got the same problem - object file format not recognized
However;
andris AT ap gas]$ file HELLO.O
HELLO.O: ELF 32-bit LSB relocatable, ARM, EABI5 version 1 (SYSV), not stripped
Linux binutils recognize format but is unable to disassemble it. I can however show symbols etc.
I would recommend ro try to build cross-binutils for some more common host (like Linux or Cygwin)
and verify that binutils works OK for that target at first.
Andris
- Raw text -