From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,ff0122fac27fef70,start X-Google-Attributes: gid111c93,public From: David Addison Subject: Compiling against a static libots using Compaq ccc Date: 2000/07/06 Message-ID: <8k20c7$rtg$1@soap.pipex.net>#1/1 X-Deja-AN: 643045248 X-Complaints-To: abuse@uk.uu.net X-Trace: soap.pipex.net 962888903 28592 194.202.174.90 (6 Jul 2000 13:08:23 GMT) Organization: Addy @ Home User-Agent: Pan/0.8.1beta1 (Unix) NNTP-Posting-Date: 6 Jul 2000 13:08:23 GMT Newsgroups: comp.os.linux.alpha Hi, does any one now how to make a dynamic executable that uses the the static libots library when using the Compaq ccc compiler ? I want to use ccc to compile my files, but not have to onward distribute the libots RPM (this is allowed under their licence terms). The obvious method; ccc -o blob blob.c /usr/lib/libots.a still ends up with the 'blob' binary linked against libots.so I can compile to 'blob.o' and then use gcc to link, but that's a bit ugly. Any other suggestions ? Cheers,. Addy.