This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tue, May 31, 2011 at 5:13 AM, Yann E. MORIN <yann.morin.1998@anciens.enib.fr> wrote: > # HG changeset patch > # User Bryan Hundven <bryanhundven@gmail.com> > # Date 1306816723 25200 > # Node ID 94a989d4e73b60775a1bfcfb0fc05790017f165d > # Parent Âfa3a18f9abcf9dde1535088554778fe4c4e5e831 > configure: check for libstdc++.{so,dylib,a} > > It's probably a good thing to check for {so,dylib,a} during configure > time. They are needed by the companion libraries and gcc. > > Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> > [yann.morin.1998@anciens.enib.fr: add check for .a, rename var to *cxx] > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> > > diff --git a/configure b/configure > --- a/configure > +++ b/configure > @@ -429,6 +429,13 @@ > Âhas_or_abort lib="${ncurses_libs}" Â Â Â Â Â Â Â Â Â\ > Â Â Â Â Â Â Âerr="'ncurses' library was not found" > > +stdcxx_libs="$( for x in so dylib a; do \ > + Â Â Â Â Â Â Â Â Â printf "libstdc++.$x "; \ > + Â Â Â Â Â Â Â done \ > + Â Â Â Â Â Â )" > +has_or_abort lib="${stdcxx_libs}" \ > + Â Â Â Â Â Â err="'libstdc++' shared library was not found" > + I don't get it. Why 'has_or_abort' and 'has_or_warn' for libstdc++.a. In my patch series, I did 'has_or_abort' for {so,dylib}, but 'has_or_warn' for libstdc++.a as missing .a is only a warning and a kconfig option enabled or disabled. > Â#--------------------------------------------------------------------- > Â# Compute the version string > > -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |