From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: GnuTLS for W32 Date: Tue, 03 Jan 2012 21:38:36 +0200 Message-ID: <831urgr2yr.fsf@gnu.org> References: <83boqns68o.fsf@gnu.org> <87liprazr1.fsf@lifelogs.com> <83wr9bqez3.fsf@gnu.org> <87y5tr9dwv.fsf_-_@lifelogs.com> <87k45alwgb.fsf@wanadoo.es> <87fwfyltm1.fsf@wanadoo.es> <87boqmlrma.fsf@wanadoo.es> <87ty4e9j19.fsf@lifelogs.com> <83obumqa0v.fsf@gnu.org> <87ipktag2e.fsf@lifelogs.com> <87fwfxtxuz.fsf@wanadoo.es> <87aa64ubg9.fsf@wanadoo.es> <83boqkr9bp.fsf@gnu.org> <874nwcu17i.fsf@wanadoo.es> <834nwcr6un.fsf@gnu.org> <87vcosskhc.fsf@wanadoo.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1325619522 25708 80.91.229.12 (3 Jan 2012 19:38:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2012 19:38:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 03 20:38:38 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RiABy-00074A-D3 for ged-emacs-devel@m.gmane.org; Tue, 03 Jan 2012 20:38:38 +0100 Original-Received: from localhost ([::1]:49854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiABx-0007fP-V2 for ged-emacs-devel@m.gmane.org; Tue, 03 Jan 2012 14:38:37 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:32935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiABu-0007f9-UL for emacs-devel@gnu.org; Tue, 03 Jan 2012 14:38:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiABt-0006kz-O1 for emacs-devel@gnu.org; Tue, 03 Jan 2012 14:38:34 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:42125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiABt-0006kt-Es for emacs-devel@gnu.org; Tue, 03 Jan 2012 14:38:33 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LX800400LYBLI00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Tue, 03 Jan 2012 21:38:31 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.18.76]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LX8002B9MK6UVV0@a-mtaout22.012.net.il>; Tue, 03 Jan 2012 21:38:31 +0200 (IST) In-reply-to: <87vcosskhc.fsf@wanadoo.es> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147230 Archived-At: > From: =C3=93scar Fuentes > Date: Tue, 03 Jan 2012 19:34:55 +0100 >=20 > >> Elisp packages downloaded by package.el are already saved on a > >> well-known directory where Emacs has write access to. So the pro= blem is > >> solved. > > > > Solved my foot! we need to know that directory's absolute file na= me in > > advance, to hardcode it into the C sources of Emacs. How's that > > going to work, if package.el doesn't know where that directory wi= ll be > > until it is run by Emacs? >=20 > You don't need to know the directory at compile time. GnuTLS and > potentially other libraries (those that provide image support, for > instance) are perfectly fine if you load them on demand at run time= . Yes, but loaded from where? They can either be in the same directory where the Emacs executable lives, or on Path, or in the Windows's system32 directory, or in some other place, but in the latter case we must pass an absolute file name to LoadLibrary.