ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] libraries in toolchain and rootfs


From: hong zhang
Subject: Re: [Ltib] libraries in toolchain and rootfs
Date: Wed, 12 May 2010 09:23:04 -0700 (PDT)

Stuart,

I am using openembedded toolchain to try build directfb application.
Here is questions.

1. If a compile error complains "not find a library", then library is 
downloaded, built and installed to rootfs. That means compiler looks into 
rootfs. Why need -I ../toolchain/include/directfb?

2. Does toolchain has same library as rootfs? Or where does toolchain refer to?

---henry 

--- On Wed, 5/12/10, Stuart Hughes <address@hidden> wrote:

> From: Stuart Hughes <address@hidden>
> Subject: Re: [Ltib] libraries in toolchain and rootfs
> To: "hong zhang" <address@hidden>
> Cc: address@hidden
> Date: Wednesday, May 12, 2010, 2:35 AM
> Hi HEnry,
> 
> Which platform/toolchain/package are you referring to?
> 
> Although you may have fixed a compile issue by adding this
> path, it
> isn't necessarily correct.  Also it's not normally
> necessary to refer to
> rootfs/.., for userspace apps, pkg-config is used for
> headers not in
> rootfs/usr/include (which itself is implicit).
> 
> It's possible the headers you pick up through toolchain/..
> are from the
> build-in generic kernel header copies that come with all
> toolchains but
> it's not possible to tell without more detail.
> 
> Regards, Stuart
> 
> hong zhang wrote:
> > Stuart,
> > 
> > I have a technical question regarding libraries in
> toolchain and rootfs.
>
> > When I cross compile user application, I have to add
> -I .../toolchain/include/directfb instead -I
> ../rootfs/include/directfb in Makefile. Does it mean
> toolchain also has libraries as rootfs has?
> > 
> > ---henry
> > 
> > 
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]