Mandriva

Return to the main archive index.

Custom Search

Mandrake Linux Archives: cooker-amd64@linux-mandrake.com

Mandrake Linux: cooker-amd64@linux-mandrake.com


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]


On Sat, 13 Dec 2003 11:21 am, Pierre-Olivier Gaillard wrote:
> Hello, I compiled ddd-3.3.8 with lesstif-0.93.94 on Mandrake 9.2RC1 for
> AMD64 using RPMs for the x86 cooker.
> But ddd crashes. Did anybody get ddd to work on Mandrake 9.2 for AMD64 ?

I tried the same thing.  It looks to me from the compiler warning messages 
that it's not 64-bit clean (or at least, assumes that sizeof(int) == 
sizeof(void *)).  There were several messages about pointers being truncated.

Since it only communicates through a pipe with GDB, you can control a 64 bit 
gdb with a 32 bit ddd (just install the 32-bit RPM).  Alternatively, I saw an 
x86_64 RPM for ddd from RedHat somewhere (I did a web search); assuming that 
they've fixed and tested it, you might be able to rebuild with whatever patch 
they applied to get it to work.

By the way, you absolutely need GDB 6.0 to debug 64-bit code.  GDB 5.3 is (for 
me) completely unusable.

I would imagine that it's a bug with ddd, not with lesstif.

Cheers,
Jeremy



Date Index | Thread Index

Looking for a job?



Advertisement (via La Vignette)