[comp.unix.xenix.sco] Xenix version of gdb

wds@bill.UUCP (06/06/91)

Hi,

I reccently obtained the gcc/gas/gdb package from anomaly.
The gcc compiler works and so does gdb with one exception.
I can't get symbols in gdb. I have tried various options
but the problem seems to be that the linker is not putting
the symbols in the binary.

Thanks in advance
--Bill

ronald@robobar.co.uk (Ronald S H Khoo) (06/07/91)

[ Mail bounced, so I'm posting.  nimbus doesn't seem to be able to !bill.
  Do you have a domain address ? ]

In article <151@nimbus.UUCP> wds@bill.uucp wrote:

> I reccently obtained the gcc/gas/gdb package from anomaly.
> The gcc compiler works and so does gdb with one exception.
> I can't get symbols in gdb. I have tried various options
> but the problem seems to be that the linker is not putting
> the symbols in the binary.

How strange.  It works for us.  I haven't got enough information to figure
out what's happening from your message.  Try this compiling the

	main() { printf("Hello World\n"); }

program with this command line:

	gcc -v -g hello.c 2> temp	(bourne shell)
or
	gcc -v -g hello.c >& temp	(C shell)

Then do
	what /bin/ld >> temp
	grep rel= /etc/perms/soft >> temp

and mail me the contents of the temp file.  That will give me a bit more
info then we can take it from there.
-- 
Ronald Khoo <ronald@robobar.co.uk> +44 81 991 1142 (O) +44 71 229 7741 (H)