[Top][All Lists]

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

Re: [libunwind] libunwind v0.97 released

From: David Mosberger
Subject: Re: [libunwind] libunwind v0.97 released
Date: Fri, 7 May 2004 13:35:30 -0700

>>>>> On Fri, 7 May 2004 15:16:20 +0200, address@hidden (Matthieu Delahaye) 
>>>>> said:

  Matthieu> After building libunwind 0.97, and
  Matthieu> libunwind-generic.a a respectively symbolic links to
  Matthieu> and libunwind-ia64.a

Yes, that's the way it works: if you have an app that links against
libunwind on for the host-platform, you link against
libunwind-generic.{a,so}, no matter what the host-platform is.  That
makes Makefiles clean and tidy.

In contrast, if you do cross-platform unwinding, you'll link against
libunwind-PLATFORM.{a,so}, since in that case, you have to know the
targeted platform(s) anyhow.  For example, the Ski ia64 simulator on
x86 gets linked against libunwind-ia64.a.  Similarly, a
multi-architecture gdb that supports, e.g., x86, ia64, and alpha with
a single binary would simultaneously link against these three
libraries: libunwind-{x86,ia64,alpha}.a.

  Matthieu> In other words, it assumes libunwind-generic is
  Matthieu> libunwind-PLAT for the host platform.

Yup, that's exactly the idea.


reply via email to

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