Hi Jean-Louis, On Tue, Dec 11, 2012 at 12:29:10PM +0100, Jean-Louis 'Hans' Fuchs wrote: > Hello > > We have a build breaker on solaris 11/Sparc tag 341, we suppose that > we have to add all indirectely linked libraries to the call below. > Solaris seems like OS X not to support indirect linking. > > /opt/solarisstudio12.3//bin/CC -Bdynamic -z text -G > '-R$ORIGIN:$ORIGIN/../ure-link/lib' -L$S/solenv/unxsols4/lib > -L$O/lib -L$S/solenv/unxsols4/lib > -L$S/solenv/unxsols4/libsolaris.2.6 -L/lib -L/usr/lib > -L/usr/local/lib -L/usr/dt/lib -L/usr/openwin/lib > -L/usr/jdk/instances/jdk1.6.0/lib > -L/usr/jdk/instances/jdk1.6.0/jre/lib/sparc > -L/usr/jdk/instances/jdk1.6.0/jre/lib/sparc/xawt > -L/usr/jdk/instances/jdk1.6.0/jre/lib/sparc/native_threads > -L/usr/lib -temp=/tmp -w -mt -Bdirect -z defs -z combreloc > -norunpath -PIC -library=no%Cstd -lcomphelpC52 -luno_cppu > -luno_cppuhelperC52 -lfwe -li18nisolang1C52 -luno_sal -lsax -lsb > -lsot -lstlport_sunpro -lsvl -lsvt -ltk -ltl -lucbhelper4C52 -lutl > -lvcl -lvos3C52 -lxml2 -lsfx -lgtk-x11-2.0 -lsecdb -ltsol > -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lXext > -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage > -lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0 -lfreetype -lfontconfig > -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 > -lgmodule-2.0 -lgthread-2.0 -lpthread -lglib-2.0 > $W/CxxObject/sfx2/source/appl/shutdowniconunx.o -o > $W/LinkTarget/Library/libqstart_gtk.so > > > We wanted to test this call with different linker settings. But the > call has many variables: $ORIGIN/$W/$S. In order to continue with > our investigation, we have to be either: > > 1. able to get the contents of this variables > 2. find the definition of LIBS or similar for this project
Please try configuring with --enable-verbose and run build with the --html switch: cd ./instsetoo_native/ ./build --html --all This way you'll get all output in sfx2/unxlngx6/misc/logs/prj.txt You'll see that the variables are R, S, O, W. $ORIGIN in you command above is not a variable expanded in the build environment, it must be similar to the linker option in GCC: '-Wl,-rpath,$ORIGIN:$ORIGIN/../ure-link/lib' > - The makefile seems to part of complex build system, that doesn't > use make in a verbose way. Is there any documentation for gbuild.mk > based makefiles? There is a sort-of documentation in main/solenv/doc/gbuild/solenv/gbuild/ and may be in the wiki you can find something else. > all of the missing symbols are in implicit dependencies. It looks like you will have to write platform specific gbuild makefiles in main/solenv/gbuild/platform/ because the one there seems broken. If the old, dmake + build.pl build environment is still working, try to copy the set up from main/solenv/inc/unxso*.mk Regards -- Ariel Constenla-Haile La Plata, Argentina
pgpET1tBjSAQu.pgp
Description: PGP signature