From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Thu, 12 Feb 2015 22:51:22 +0100 Message-ID: References: <87y4t9m76w.fsf@lifelogs.com> <85k31coixa.fsf@stephe-leake.org> <85oapy5kt6.fsf@stephe-leake.org> <83y4oiiw81.fsf@gnu.org> <838ugdf251.fsf@gnu.org> <87bnl1vmqf.fsf@lifelogs.com> <87vbj8tow4.fsf@lifelogs.com> <87r3twtagf.fsf@lifelogs.com> <85siebl7ws.fsf@stephe-leake.org> <85a90ilwmm.fsf@stephe-leake.org> <83386a6f7z.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1423777907 27633 80.91.229.3 (12 Feb 2015 21:51:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2015 21:51:47 +0000 (UTC) Cc: Stephen Leake , Emacs development discussions To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 12 22:51:46 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YM1fl-0003O4-9I for ged-emacs-devel@m.gmane.org; Thu, 12 Feb 2015 22:51:45 +0100 Original-Received: from localhost ([::1]:52274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM1fk-0001rd-Qc for ged-emacs-devel@m.gmane.org; Thu, 12 Feb 2015 16:51:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM1fT-0001rV-Ex for emacs-devel@gnu.org; Thu, 12 Feb 2015 16:51:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YM1fS-0004WP-BW for emacs-devel@gnu.org; Thu, 12 Feb 2015 16:51:27 -0500 Original-Received: from mail-ie0-f180.google.com ([209.85.223.180]:32825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM1fO-0004UH-PB; Thu, 12 Feb 2015 16:51:22 -0500 Original-Received: by iecar1 with SMTP id ar1so15391475iec.0; Thu, 12 Feb 2015 13:51:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=o9l/l59vzRhsM5Vniz1Q+FJ13fjTvfHveIJToRRKI3w=; b=dN7NZVAo/knikAxu7e/KBdedASKVryz9j+I4vwtbvqckIpgEJ8YVh7372SpvUl2Twj q+v/w5WFGebAbm6WX2cbpBlJ8IaVAy7tKM5/sZCogCiW1uzUkDruWYwpIHShHriTgVQB e9hvaWC+orv5zwS1wub8sHh2KFzX/9IF4oGtV0XCDsp9I0QHzQ81xCS98rx1JuaPdYf4 wsyPY0MwvPdoA4cI9vCM63v2wrgi9be/3MZnkdaL+dzxwxtF0MPVoQeJVzixc2cH0MKT u8QDelJ3pbgOToV5GdJcs33YGC9RztK18Yr1vUOkUKtNc6apUzySyZVn0nHoxeWGbT2Y sZeg== X-Received: by 10.50.79.161 with SMTP id k1mr6746901igx.14.1423777882241; Thu, 12 Feb 2015 13:51:22 -0800 (PST) Original-Received: by 10.36.19.71 with HTTP; Thu, 12 Feb 2015 13:51:22 -0800 (PST) In-Reply-To: <83386a6f7z.fsf@gnu.org> X-Google-Sender-Auth: FcdILa-Huj4VGLqlnpQ8GCasduE X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.223.180 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:182984 Archived-At: On Thu, Feb 12, 2015 at 9:34 PM, Eli Zaretskii wrote: > Sorry, I don't understand: the Emacs configure script already adds > that directory to the include path. So what's wrong? He's talking about the module Makefile, which is very basic and standalone (no includes or preprocessing). > The unresolved externals that are defined by Emacs are expected: you > need to link against an import library produced as part of building > emacs.exe. Otherwise all this stuff will not work on Windows, because > the Windows port of the linker must see the import library at link > time. > > The flag to produce the import library should be something like this: > > -Wl,--out-implib=libemacs.dll.a > > Then you need to link the shared library against -lemacs. The configure script adds this to Emacs LD flags when modules are enabled: -lltdl -Wl,--export-dynamic What does that do on Windows? I have very little experience in C programming on Windows, especially using the GNU toolchain. I want to make this work but this is unknown territory for me. Is there an up-to-date guide to setup a simple build environment (libs and all) for Emacs on Windows?