Hello again, If using the following configure options:
./configure --prefix=/usr/local/ecl --enable-unicode --enable-threads --with-__thread=no --enable-rpath --with-clx ecl_min is linked as follows: if [ -f CROSS-COMPILER ]; then touch ecl_min; else gcc -g -o ecl_min cinit.o c/all_symbols.o -L./ libeclmin.a -leclatomic -leclgc -leclgmp -lpthread -lm; fi Which seems fine as there's no external library dependency other than phtread, libc and libm, which do not require an RPATH to be found on most systems. There also seems to be an internal libffi dependency but that is linked statically. However, if I try to build with system gmp and boehm-gc, ecl_min gets linked as follows: ./configure --prefix=/usr/local/ecl --enable-unicode --enable-threads --with-__thread=no --enable-rpath --with-clx --enable-boehm=system --with-system-gmp --with-gmp-prefix=/usr/pkg [this last part was only tried after the first failure without it --with-dffi=NO] if [ -f CROSS-COMPILER ]; then touch ecl_min; else gcc -g -L/usr/pkg/lib -o ecl_min cinit.o c/all_symbols.o -L./ libeclmin.a -leclatomic -lffi -lgmp -lgc -lpthread -lm; fi Because -L is allright, linking succeeds. However, because RPATH is missing, ecl_min invokation fails when trying to dynamically link libffi. BTW, I also tried disabling libffi support using --with-dffi=NO but it didn't remove dependency on libffi either. I suppose that runtime linking would also have failed on libgmp and libgc, which in my case are all under /usr/pkg/lib. Should I explicitely add an RPATH declaration to LDFLAGS myself, or is this a bug where the ecl_min bootstrap should do it? Thanks, -- Matt ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list