bug-binutils
[Top][All Lists]
Advanced

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

Re: ld generates bogus warning messages about incompatible architectures


From: Alan Modra
Subject: Re: ld generates bogus warning messages about incompatible architectures
Date: Fri, 21 Jan 2005 13:01:39 +1030
User-agent: Mutt/1.4i

On Thu, Jan 20, 2005 at 03:07:21PM +0100, Andreas Franz Borchert wrote:
> ld 2.15.91.0.2 complains about an incompatible architecture when
> I try to build a 32-bit elf binary using an ld with 64-bit default
> configuration. I get warnings like the following
> 
>    ld: warning: i386 architecture of input file 
> `/tmp/oberon/ulm-oberon-i386-0.7.9/build/libo.a(UnixWaitConditions.o)' is 
> incompatible with i386:x86-64 output

Use -m elf_i386.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre




reply via email to

[Prev in Thread] Current Thread [Next in Thread]