[haiku-development] Re: Runtime loader errors when trying to test JavaScriptCore

  • From: "Ryan Leavengood" <leavengood@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 17 Aug 2007 08:11:04 -0400

On 8/17/07, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
>
> Are you trying to run it under Haiku or Linux?

Haiku of course ;)

> In any case, something looks fishy if the Jamrule adds libstdc++.r4.so
> automatically.

Here is the relevant section from build/jam/BuiltSetup:

# the C++ library
if $(HAIKU_SHARED_LIBSTDC++) {
        HAIKU_LIBSTDC++ = $(HAIKU_SHARED_LIBSTDC++) ;
} else if $(HAIKU_STATIC_LIBSTDC++) {
        HAIKU_LIBSTDC++ = $(HAIKU_STATIC_LIBSTDC++) ;
} else {
        HAIKU_LIBSTDC++ = libstdc++.r4.so ;
}

In the BuildConfig generated by configure for compiling on Linux:

HAIKU_STATIC_LIBSTDC++          ?=
/home/rjl/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.1.2/../../../../i586-pc-haiku/lib/libstdc++.a
;
HAIKU_SHARED_LIBSTDC++          ?=  ;
HAIKU_STATIC_LIBSUPC++          ?=
/home/rjl/develop/haiku/trunk/generated/cross-tools/lib/gcc/i586-pc-haiku/4.1.2/../../../../i586-pc-haiku/lib/libsupc++.a
;
HAIKU_SHARED_LIBSUPC++          ?=  ;

So as you can see HAIKU_SHARED_LIBSTDC++ is empty. Is there some
reason shared libraries can't be built on Linux? Ingo?

Ryan

Other related posts: