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]

[PATCH 0 of 3] Check for libstdc++.{so, dylib, a} and if build host gcc > 4.5 use -static-libstdc++


Patch 1 implements a check for libstdc++.{so,dylib}, but more importantly
libstdc++.a, which is needed by CT_CC_STATIC_LIBSTDCXX.

Patch 2 double checks CONFIGURE_has_static_libstdcpp is 'y'.

Patch 3 is up for debate. It cures a FIXME which suggested we check the
build host gcc to see if it is greater then 4.5, and to use
'-static-libstdc++' instead of '-Wl,-Bstatic,-lstdc++,-Bdynamic'.

-Bryan

 configure               |  11 +++++++++++
 config/cc/gcc.in.2      |   2 +-
 scripts/build/cc/gcc.sh |   4 ++--
 scripts/build/cc/gcc.sh |  13 ++++++++-----
 4 files changed, 22 insertions(+), 8 deletions(-)

--
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]