sane-project-website/old-archive/1999-04/0158.html

58 wiersze
3.1 KiB
HTML

<!-- received="Thu Apr 8 18:09:41 1999 PDT" -->
<!-- sent="Fri, 9 Apr 1999 11:13:24 +1000 (EST)" -->
<!-- name="Graham Stoney" -->
<!-- email="greyham@research.canon.com.au" -->
<!-- subject="Re: Linking non-libtool libraries into a new backend?" -->
<!-- id="199904090113.LAA16834@sid.research.canon.com.au" -->
<!-- inreplyto="199904081009.MAA31045@lee.Cc.Uit.No" -->
<title>sane-devel: Re: Linking non-libtool libraries into a new backend?</title>
<h1>Re: Linking non-libtool libraries into a new backend?</h1>
<b>Graham Stoney</b> (<a href="mailto:greyham@research.canon.com.au"><i>greyham@research.canon.com.au</i></a>)<br>
<i>Fri, 9 Apr 1999 11:13:24 +1000 (EST)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#158">[ date ]</a><a href="index.html#158">[ thread ]</a><a href="subject.html#158">[ subject ]</a><a href="author.html#158">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0159.html">Rich Klumpp: "RE: New ScanMaker X6 EL patch for pre1.01-4"</a>
<li> <b>Previous message:</b> <a href="0157.html">Scott Wells: "RE: New ScanMaker X6 EL patch for pre1.01-4"</a>
<li> <b>In reply to:</b> <a href="0143.html">Petter Reinholdtsen: "Re: Linking non-libtool libraries into a new backend?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0164.html">Petter Reinholdtsen: "Re: Linking non-libtool libraries into a new backend?"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Petter Reinholdtsen writes:<br>
<i>&gt; [Graham Stoney]</i><br>
<i>&gt; &gt; Now I know libtool is supposed to make life easier, but is there any</i><br>
<i>&gt; &gt; way I can convince it to link my existing libraries in to the new</i><br>
<i>&gt; &gt; backend?</i><br>
<i>&gt; </i><br>
<i>&gt; The problem is not really non-libtool libraries. The problem is</i><br>
<i>&gt; non-dll libraries, which libtool tries to handle for you. The objects</i><br>
<i>&gt; included in a shared library _must_ be compiled as position</i><br>
<i>&gt; independent code (PIC). If you don't have this, you can not link it</i><br>
<i>&gt; with a shared library.</i><br>
<p>
OK, understood. I've rebuilt the libraries adding -fPIC to the compiler command<br>
line, but libtool still refuses to link the ".a" files in. Any other ideas?<br>
<p>
Thanks,<br>
Graham<br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0159.html">Rich Klumpp: "RE: New ScanMaker X6 EL patch for pre1.01-4"</a>
<li> <b>Previous message:</b> <a href="0157.html">Scott Wells: "RE: New ScanMaker X6 EL patch for pre1.01-4"</a>
<li> <b>In reply to:</b> <a href="0143.html">Petter Reinholdtsen: "Re: Linking non-libtool libraries into a new backend?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0164.html">Petter Reinholdtsen: "Re: Linking non-libtool libraries into a new backend?"</a>
<!-- reply="end" -->
</ul>