From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: Re: [PATCH 08/10] gnu: readline: support mingw. Date: Mon, 02 May 2016 20:52:49 +0200 Message-ID: <87oa8owav2.fsf@drakenvlieg.flower> References: <1461942751-23883-1-git-send-email-janneke@gnu.org> <1461942751-23883-8-git-send-email-janneke@gnu.org> <87mvo8naj2.fsf@igalia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axIyM-0003yp-8j for guix-devel@gnu.org; Mon, 02 May 2016 14:53:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axIyA-0002PL-Cu for guix-devel@gnu.org; Mon, 02 May 2016 14:53:28 -0400 In-Reply-To: <87mvo8naj2.fsf@igalia.com> (Andy Wingo's message of "Mon, 02 May 2016 10:12:33 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Andy Wingo Cc: guix-devel@gnu.org Andy Wingo writes: >> (arguments `(#:configure-flags >> (list (string-append "LDFLAGS=3D-Wl,-rpath -Wl," >> (assoc-ref %build-inputs "ncurs= es") >> - "/lib") >> + ,(if (mingw-target?) "/bin" "/l= ib")) > > Is there a reason for MinGW ncurses to put its library in /bin on a > MinGW system? Better if it put it in /lib like everything else... Yes...ncurses does not create any .la-files; only .dll-files. Sadly those must go in bin. Maybe we could add a workaround in ncurses, adding symlinks of those dlls in lib... This bothered me too and the real solution here is to (cross) build ncurses using libtool. The good news is that ncurses can optionally be built with libtool. The bad news is that because the ncurses build system takes an installed version of libtool instead of generating one during configuring as usual, cross building ncurses with libtool needs an installed pre-build cross version of libtool. WDYT? Greetings, Jan --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.nl= =20=20