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

Re: std c++ libraries

> Date: Thu, 6 Dec 2001 10:00:43 +0100 (CET)

    I wrote:
> > Just build and link with g++-cris; if you have
> > an
> > "install" rule like the one in apps/ipsetd
> > (installing in
> > $(INSTDIR) everything will be copied automatically.

  Peter wrote:
> Not quite! I have an application that relies on
> libstdc++. If I add an install rule to my Makefile and
> add an entry to makespec, libstdc++ will be added
> fine.
> libstdc++ relies on libmath however, and libmath will
> not be included. I have to add an entry manually.

Are you sure you *linked* with g++-cris?

> The script find-needed-shlibs.pl should be updated
> to find not only direct dependencies but also
> indirect, i.e., that if an application relies on a
> library that relies on a library the last library
> should also be added to the list of required
> libraries.

It's supposed to do this.  I'll check.

brgds, H-P