In bootstrapping experiments with Felix I built a new Felix with Felix in
a directory called "build/trial".

Then I deleted "build/release" and moved "build/trial" to "build/release"
hoping to perform a second stage bootstrap.

But I got this:

"""
LD_LIBRARY_PATH=build/release/host/lib/rtl build/release/host/bin/flx 
--test=build/release --static -o build/trial/host/bin/flx_build_rtl_demo 
build/trial/share/src/tools/flx_build_rtl_demo build/trial/host/config 
build_flx_rtl_clang_osx build/trial . trial-tmp
flx_librtl: configdir=build/trial/host/config, bootpkg=build_flx_rtl_clang_osx, 
librtldir=build/trial/host/lib/rtl, repository=.
compiler     : clang
os           : OSX

.....

Dynamic linkage error opening DLL toolchain_clang_osx
Dynamic linkage error
filename: toolchain_clang_osx.dylib
operation: dlopen
what: dlopen(toolchain_clang_osx.dylib, 2): Library not loaded: 
build/trial/host/lib/rtl/libflx_pthread_dynamic.dylib
 Referenced from: 
/Users/johnskaller/felix/build/release/host/lib/rtl/toolchain_clang_osx.dylib
 Reason: image not found
"""


As you can see the toolchain_clang_osx.dylib plugin is linked against:

        build/trial/host/lib/rtl/libflx_pthread_dynamic.dylib

which of course doesn't exist. Specifying:

        LD_LIBRARY_PATH=build/release/host/lib/rtl 

didn't help. It's NOT clear to me exactly how to make this work. OSX is not 
like Linux:
it uses full pathnames for load time linkage libraries, even if you link with 

        -Lpath -lsomelib

There's some rpath crud to fiddle stuff ... grrr ...

--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to