This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Re: Really cross compiling gdb.
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Jim Blandy'" <jimb at red-bean dot com>, <jamessteward at optusnet dot com dot au>
- Cc: "'Simon Richter'" <Simon dot Richter at picotux dot com>, <gdb at sources dot redhat dot com>
- Date: Thu, 12 Jan 2006 12:41:28 -0000
- Subject: RE: Re: Really cross compiling gdb.
Jim Blandy wrote:
> On 1/11/06, James Steward <jamessteward@optusnet.com.au> wrote:
>> Thanks for the tip - but it doesn't seem to have worked for me :-(
>
> I'm not too familiar with this sort of cross-building, but I believe
> that ought to work. I think you're going to have to grovel through
> the configure scripts and figure out what's going wrong.
I have an idea!
James Steward wrote:
> My configure command now looks like this.
>
> ../configure
> --prefix=/usr/local/arm-linux/gcc-3.4.4-glibc-2.3.5/arm-xscale-linux-gnu/
> --program-prefix=arm-xscale-linux-gnu- --build=`../config.guess`
> --target=arm-xscale-linux-gnu --host=arm-xscale-linux-gnu
Perhaps this is a manifestation of the
can't-find-cross-tools-when-configuring-with-a-relative-path bug, and perhaps
using an absolute path to the configure script will sort it out?
(Or perhaps not; this is a bit of a WAG :-P)
cheers,
DaveK
--
Can't think of a witty .sigline today....