On Fri, Sep 05, 2014 at 10:57:10PM +0200, Gilles Chanteperdrix wrote:
> On 09/05/2014 10:54 PM, Lennart Sorensen wrote:
> > On Fri, Sep 05, 2014 at 10:31:35PM +0200, Gilles Chanteperdrix wrote:
> >> Just tried a fresh build with minimal flags, simply:
> >>
> >> configure --enable-debug CFLAGS="-fomit-frame-pointer"
> >> --host=arm-linux-gnueabihf
> >> make
> >> arm-linux-gnueabihf-gdb src/skins/common/.libs/libxenomai.so.0.0.0
> >>
> >> and gdb says it can find symbols. (-fomit-frame-pointer is needed with
> >> the toolchain I use, otherwise gcc complains that it can not use the r7
> >> register).
> > 
> > I tried adding that option, and still gdb says no symbols.
> > 
> > Toolchain is debian wheezy's gcc 4.6, and everything is natively compiled.
> > 
> 
> Do you build the package manually, like I just did? Or do you use the
> debian/rules stuff?

I use the debian/rules, but I set DEB_CFLAGS_APPEND=-fomit-frame-pointer
and I added --enable-debug to the configure line in debian/rules and I
set DEB_BUILD_OPTIONS=nostrip

-- 
Len Sorensen

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to