From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49A51C3D.1020705@domain.hid> Date: Wed, 25 Feb 2009 11:23:57 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <49A4209F.60502@domain.hid> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-core] [PATCH] blackfin: build xenomai in FLAT format List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: yi li Cc: Xenomai-core@domain.hid yi li wrote: > On Wed, Feb 25, 2009 at 12:30 AM, Philippe Gerum wrote: >>> 2. libpthread_rt.la should not depend on "lpthread". >>> >> Nak. In flat mode, turning the link dependencies order upside down will not buy >> us anything. Two-phase link is the only way to prevent circular/invalid >> dependencies with a static only format when symbol wrapping is involved. >> > > Agree. But "libpthread_rt_la_LDFLAGS" should not include "-lpthread", > otherwise libtool will think libpthread_rt.a depends on libpthread. > I don't think there is such a dependency, isn't it? Look at libpthread_rt code. -- Gilles.