|
From: | Stuart Hughes |
Subject: | Re: [Ltib] Compiling a development header package |
Date: | Fri, 11 Jun 2010 13:27:41 +0100 |
User-agent: | Thunderbird 2.0.0.16 (X11/20080707) |
Hi Ferdinand, You're right, in this case you can comment out build-requires (and you can in general for LTIB). I guess you mean the gdb that LTIB built and put in bin ? if not you should. To have the source files visible you need to leave the sources unpacked in rpm/BUILD/... and use the dir command in gdb. There's some more info on the mailing list archive here: http://lists.gnu.org/archive/html/ltib/2010-02/msg00014.html In your spec file you should have: --host=$CFGHOST what you have now may be incorrect, and it's certainly not going to work for other targets. >From within gdb, I would do an 'up' command to get to a stack frame that shows a more meaningful context. You could also pass -O0 to CFLAGS to try to get some more more easy to follow (caution though, this may move the bug). I would also check the build log (./ltib -p xxxx -f 2>&1 | tee logfile) to see if you can spot anything bad. Regards, Stuart Ferdinand Jacobs wrote: Hi Stuart, |
[Prev in Thread] | Current Thread | [Next in Thread] |