[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: as cross assembler
From: |
James Hanley |
Subject: |
Re: as cross assembler |
Date: |
Thu, 7 Aug 2003 05:27:50 -0700 (PDT) |
On Thu, 7 Aug 2003, Alan Modra wrote:
> On Wed, Aug 06, 2003 at 05:47:49AM -0700, James Hanley wrote:
> >
> > ../binutils-2.14/configure --enable-targets=m68k-elf,ppc-elf,i386-elf
> > --with-gnu-ld --with-gnu-as --enable-64-bit-bfd --enable-shared
> [snip]
> > And that's it... as mentions nothing about support for other platforms
> > even though ld does.
>
> gas generally doesn't support multiple targets. You'll need to
> configure and build each cross target separately.
Just so I don't loose any more time on silly mistakes, can I have a setup
like:
binutils-2.14/
binutils-i386-elf/
binutils-m68k-elf/
binutils-ppc-elf/
binutils-sparc-elf/
then from each of the elf dirs, do a
../binutils-2.14/configure --with-gnu-ld --with-gnu-as \
--enable-64-bit-bfd --enable-shared --target=whatever-elf
when I do the final make install will the libraries overwrite eachother?
Also, why even have the option --enable-targets=something,someelse if it
only works to setup cross platforms on ld and not as?
-Jim