This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: tcl cannot build 64bit.
Andrew Cagney <cagney@gnu.org> writes:
>> Andrew Cagney <cagney@gnu.org> writes:
>>
>>>>>> When I build GDB 6.1 CVS version as a 64bit binary, the tclsh fails to
>>>>>> build. The linker complains "skipping incompatible
>>>>>> /home/manjo/project/build_scripts/src/tcl/unix/libtcl8.4.a when searching
>>>>>> for -ltcl8.4" even though libtcl8.4.a is availale in that directory.
>>>>>> When I force it to link with the archive I get a bunch of undefined
>>>>>> reference to ".symbol" as follows: ( I am only pasting a few). And they
>>>>>> look like glibc symbols...
>>>
>>>>
>>>> GDB or expect? GDB doesn't need tcl.
>> Actually it does, unless you configure with --disable-gdbtk.
>
> Er, no, here's my link line:
>
> /usr/pkg/bin/ccache gcc -g -O -o gdbtui tui-main.o libgdb.a
> ../sim/ppc/libsim.a ../bfd/libbfd.a ../readline/libreadline.a
> ../opcodes/libopcodes.a ./../intl/libintl.a ../libiberty/libiberty.a -lm
> -lcurses ../libiberty/libiberty.a
Ok, it's not gdb itself, but there is the gdbtk subdirectory.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."