Re: Cool-Key on Solaris

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 03/ 4/10 02:04 PM, Wan-Teh Chang wrote:
Could you post the command line that builds
I'd like to see whether the compiler (cc, CC, gcc, or g++) or the
linker (ld) is used in the final step that links
I don't need the compiler command lines that compile the individual

I believe this is the relevant portion:

(cd /export/home/reinholz/Download/coolkey-1.1.0/src/coolkey; /bin/sh ../../libtool --mode=relink g++ -g -O2 -o -rpath /usr/local/lib/pkcs11 -avoid-version -export-symbols coolkeypk11.sym -no-undefined libcoolkeypk11_la-coolkey.lo libcoolkeypk11_la-dllmain.lo libcoolkeypk11_la-locking.lo libcoolkeypk11_la-log.lo libcoolkeypk11_la-machdep.lo libcoolkeypk11_la-object.lo libcoolkeypk11_la-PKCS11Exception.lo libcoolkeypk11_la-slot.lo ../../src/libckyapplet/ -ldl -lz )
/usr/gnu/bin/echo "{ global:" > .libs/
cat coolkeypk11.sym | /usr/gnu/bin/sed -e "s/\(.*\)/\1;/" >> .libs/
/usr/gnu/bin/echo "local: *; };" >> .libs/
g++ -shared -nostdlib -Wl,-M -Wl,.libs/ -o .libs/ /usr/lib/crti.o /usr/lib/values-Xa.o /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/crtbegin.o .libs/libcoolkeypk11_la-coolkey.o .libs/libcoolkeypk11_la-dllmain.o .libs/libcoolkeypk11_la-locking.o .libs/libcoolkeypk11_la-log.o .libs/libcoolkeypk11_la-machdep.o .libs/libcoolkeypk11_la-object.o .libs/libcoolkeypk11_la-PKCS11Exception.o .libs/libcoolkeypk11_la-slot.o -Wl,-R -Wl,/usr/local/lib -Wl,-R -Wl,/usr/sfw/lib -L/usr/local/lib -lckyapplet -ldl -lz -L/usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3 -L/usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/../../.. -L/usr/sfw/lib -lstdc++ -lm -lgcc_s /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/crtend.o /usr/lib/crtn.o
rm -f .libs/
/usr/bin/ginstall -c .libs/libcoolkeypk11.soT /usr/local/lib/pkcs11/
chmod +x /usr/local/lib/pkcs11/
In general we need to use the compiler to link
The compiler will take care of linking with any necessary crt files.


Coolkey-devel mailing list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Women]

  Powered by Linux