This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Has anyone built binutils as as a cross suite
- From: "Stephen P. Smith" <ischis2 at cox dot net>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 08 Jan 2003 13:31:16 -0700
- Subject: Re: Has anyone built binutils as as a cross suite
- References: <3E1B5A4C.7070302@cox.net> <20030107232427.GB28433@nevyn.them.org>
1) I downloaded binutils-2.13.2pre1.tar.bz2 from the binutils ftp
server late last evenning.
2) I added changes to the ld/configure.host and ld/configure.tgt to add
w32api to the link default directories for the cygwin build.
3) I built a native version of the gcc tool chain sucessfully.
4) I then tried to build the powerpc-motorola-elf cross chain and I am
getting the same errors as before.
Therefore the problem isn't with the cygwin package.
Do you have any solutions, I can post the script.
sps
Daniel Jacobowitz wrote:
Where'd you get this source package from? Cygwin? Looks like a
problem with that snapshot; I've built powerpc-elf recently and it
certainly worked.
On Tue, Jan 07, 2003 at 03:53:00PM -0700, Stephen P. Smith wrote:
I built am trying to build gcc as a cross compiler. In the middle of
building the bootstrap portion, the cross assembler is called and
seg faults. The targets that I can duplicate this problem with are:
powerpc-motorola-elf and arm-elf
---- binutils build commands (binutils-20021117-1 from cygwin
distribution ) ---
cd /htc/GNUSource/cross-compile/build-binutils-powerpc-motorola-elf
../binutils-20021117-1/configure
--prefix=/usr/local/deos-compilers/powerpc --target=powerpc-motorola-elf
--host=i686-p
-cygwin --build=i686-pc-cygwin --with-included-gettext
make
make install
---- command line (binutils-20021117-1 from cygwin distribution ) ----
$ /usr/local/deos-compilers/powerpc/bin/powerpc-motorola-elf-as
Segmentation fault (core dumped)