May somebody can help?

On my system, with binutils 2.9.5.0.13:
# arm-linux-ld -V
GNU ld version 2.9.5 (with BFD 2.9.5.0.13)
  Supported emulations:
   armelf_linux
   armelf_linux26
   armelf                                                                       

I want to build an ELF bios.
I think I will have problem with the following lines in bios' Makefile:
> ELF           := $(shell $(LD) -V | grep 'elf32arm' > /dev/null && echo y)
>
>ifeq ($(ELF),y)
>CFLAGS         += -mapcs-32 -mcpu=strongarm110 -DELF
>BIOS           = bios.elf
>else
>CFLAGS         += -m6 -Wa,-msa110
>BIOS           = bios.a.out
>endif

I guess 'elf32arm' should be changed by one of: 
        armelf_linux
        armelf_linux26
        armelf                                                                       
What are the differences between these 3 values and which one should be used
with all binutils-2.9.5.x ?
(Of course, in my case anyone would be OK, but it's always preferable to know
the GoodAnswer)

>From my problems with building linux-2.2.12:
On Thu, 07 Oct 1999, Russell wrote:
> Francois Desloges writes:
> > I know that elf32-arm should be armelf_linux.  I've already made the changes
> > in /usr/lib/gcc-lib/arm-linux/2.95.1/specs as required by
> > release.binutils-2.9.5.0.12 (although I thought this was only for glibc?)
> 
> You need to remove the `OUTPUT_FORMAT("elf32-arm", "elf32-arm", "elf32-arm")' line
> from arch/arm/vmlinux-armv.lds

I guess that the same correction shoul be done in bios/elfbios.lds if i get
the same kind of Error?
Why not put a new OUTPUT_FORMAT() base on a derivative of "armelf"?

--
Fran�ois Desloges
[EMAIL PROTECTED]
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to