This is the mail archive of the
mailing list for the GDB project.
Re: Problem building cross-debugger
- From: Michael Shatz <shatz at dsit dot co dot il>
- To: gdb at sourceware dot org
- Date: Mon, 11 Feb 2008 12:01:59 -0800 (PST)
- Subject: Re: Problem building cross-debugger
- References: <478E9F4D.24311.2EF0FE9@gerritvn.gpvno.co.za> <47908F14.31772.5AD24E@gerritvn.gpvno.co.za> <4790EF3A.8104.1D28BDA@gerritvn.gpvno.co.za> <firstname.lastname@example.org>
Jim Blandy wrote:
> "Gerrit van Niekerk" <gerritvn at gpvno.co.za> writes:
>>>> I am trying to use Cygwin to build a Cygwin host, DJGPP target version
>>>> of GDB:
>>>> config --target=djgpp All libraries seem to build ok (make does not
>>>> stop), but
>>>> the final link gives a number of undefined references
>>> There is now only one undefined reference remaining: `_bfd_i386_arch'
>> This is turning out to be a very one-sided thread :)
>> I managed to get the link phase to work by explicitly including
>> ../bfd/cpu-i386.o in the gcc command doing the final link. Perhaps
>> the GDB maintainers can have a look at the cause of the problem.
> I think the reason you haven't gotten much interaction is that you may
> be the only person on the list who's working with such a
> configuration. If you could figure out the source of the problem and
> suggest a patch, that would get things rolling.
I got exactly the same problem building i386-elf target on i686-pc-cygwin
host with gcc 3.4.4. The problem exists both for binutils-2.16.1 and for
Thank you, Gerrit. Your tip helped me to go on.
Other errors prevented me from building readelf.exe. Hopefullly I could live
with one from standard cygwin distribution.
View this message in context: http://www.nabble.com/Problem-building-cross-debugger-tp14897094p15419409.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.