This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Problem building cross-debugger
- From: "Gerrit van Niekerk" <gerritvn at gpvno dot co dot za>
- To: gdb at sourceware dot org
- Date: Fri, 18 Jan 2008 18:26:02 +0200
- Subject: Re: Problem building cross-debugger
- References: <47908F14.31772.5AD24E@gerritvn.gpvno.co.za>
- Reply-to: gerritvn at gpvno dot co dot za,gpvno at telkomsa dot net
>> 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.
BTW: The resulting cross-gdb is working like a charm :)