RE: Re: Really cross compiling gdb.

Dave Korn
2006-01-12T12:41:33Z

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....