This is the mail archive of the
mailing list for the GCC project.
Re: iWMMXt/Linux EABI toolchain
- From: Daniel Jacobowitz <drow at false dot org>
- To: Steven Newbury <s_j_newbury at yahoo dot co dot uk>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 28 Feb 2006 23:34:22 -0500
- Subject: Re: iWMMXt/Linux EABI toolchain
- References: <email@example.com>
On Wed, Mar 01, 2006 at 04:27:48AM +0000, Steven Newbury wrote:
> Hi! I'm attempting to build a iWMMXt/Linux EABI toolchain using gcc HEAD. I'm
> using the target xscale-iwmmxt-linux-gnueabi, I've added support for this
> target to binutils and built a cross linker etc.
> I've proceeded to add a suitable target in config.gcc which supports EABI,
> xscale and Linux basing it on the existing arm/linux target and replacing the
> linux-elf.h file with a modified one based on xscale-elf.h which I've called
> I then attempted to build a stage1 compiler with "--with-abi=iwmmxt
> --with-cpu=iwmmxt --with-arch=iwmmxt", but as soon as the build tries to run
> xgcc I get the error below. It looks like it's getting the types wrong, but
> I'm very new to GCC internals and I'm not sure where to look.
Try just using arm-none-linux-gnueabi and --with-cpu=iwmmxt
--with-arch=iwmmxt; you almost certainly do not want --with-abi=iwmmxt.
The error you gave suggests that you didn't modify something properly
to handle the xscale-linux-gnueabi target, but arm would work just fine.