Re: [meta-freescale] [yocto] Including Static Libraries from sysroot in an autotools based package

2015-03-20 Thread Khem Raj
> On Mar 20, 2015, at 1:09 AM, Priya Agarwal > wrote: > > Hello, > > Sorry to ask this question but I am unable to find any answer in reference > manuals. > ${CC} is a c compiler. For c++ is it ${CXX} or something else. Yes, you can always do bitbake -e | grep -e “^CXX=“ and figure out var

Re: [meta-freescale] [yocto] Including Static Libraries from sysroot in an autotools based package

2015-03-20 Thread Priya Agarwal
Hello, Sorry to ask this question but I am unable to find any answer in reference manuals. ${CC} is a c compiler. For c++ is it ${CXX} or something else. Thanks. On Fri, Mar 20, 2015 at 9:07 AM, Priya Agarwal < priya_agar...@students.iitmandi.ac.in> wrote: > I have edited the Makefile.am as wel

Re: [meta-freescale] [yocto] Including Static Libraries from sysroot in an autotools based package

2015-03-19 Thread Priya Agarwal
I have edited the Makefile.am as well in this way: squid_LDADD += -lusdpaa_of Then I just retarred squid code and build it again. And The libraries are shown in the compile command as well, when I see the log.do_compile generated during the build. Check Line number 403 in this pastebin link. (ct

Re: [meta-freescale] [yocto] Including Static Libraries from sysroot in an autotools based package

2015-03-19 Thread Khem Raj
> On Mar 19, 2015, at 2:07 AM, Priya Agarwal > wrote: > > Hi, > > I need to link some libraries which are in sysroot into my source code. These > are usdpaa libraries. > > I added DEPENDS += "usdpaa" in .bb file. > Apart from that also changed the Makefile.am of my source to include the > f