From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57832 invoked by alias); 2 Nov 2015 04:09:57 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 57822 invoked by uid 89); 2 Nov 2015 04:09:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_40,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wm0-f54.google.com Received: from mail-wm0-f54.google.com (HELO mail-wm0-f54.google.com) (74.125.82.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 02 Nov 2015 04:09:54 +0000 Received: by wmff134 with SMTP id f134so48684998wmf.1 for ; Sun, 01 Nov 2015 20:09:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=NOXilA6YRG/U3XZLfyrLx4lLDdYHFVPU14Lxxxze710=; b=EfELY3yspMS1uLBi1JOCSxSvhx6oPRrra8ZZEUmjBi/A00S5W/oOno2BKvHwC98L3b 2NA0FDEyXPZi+w9W+OXO3v1ZHg3uCf+R79bOc0YMcloHqEW05ibt4FkGII5V4dbZf3gF mbmVrRqphmBdEu8t+cqaRkd/Uv5KpTWzsodv+MMlRkfQmWyfYc4ySd+tbNVATF9N0eOZ dKr1ilySqlcAF40dwiyuZOBAignrBRNjUE5uPfJFoRbleopwQ5aMCFQ3u5BxKFegpZPc aLq/Bg8h/pG+AD5+lXtvK5rg4kaCLlgQVizvCttYWGkR8YxFSIziMTKkuuGo0zA8v8/l o+cQ== X-Gm-Message-State: ALoCoQk0/Wtaquvcf+ZUawrjSKjaBdeoy/GmFkPOHk3J8D8HmlL887ha4nsy2+oIhmqQBomD5mf1 MIME-Version: 1.0 X-Received: by 10.28.14.199 with SMTP id 190mr11557806wmo.42.1446437391511; Sun, 01 Nov 2015 20:09:51 -0800 (PST) Received: by 10.27.90.211 with HTTP; Sun, 1 Nov 2015 20:09:51 -0800 (PST) In-Reply-To: <5636D2C5.6020309@ehdp.com> References: <5636D2C5.6020309@ehdp.com> Date: Mon, 02 Nov 2015 04:09:00 -0000 Message-ID: Subject: Re: compile ncurses "hello world" to run independent of cygwin? From: Darik Horn To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00015.txt.bz2 On Sun, Nov 1, 2015 at 10:04 PM, Daniel Goldman wrote: > > What am I doing wrong? How do I use cygwin to compile the test ncurses > program so it can run in a dos terminal, independent of cygwin? I looked > around the docs and archives and could not figure out. Was libncurses built for the MinGW target on the Cygwin host? Keep in mind that this job is a cross compile, so ncurses and every other dependency must be built for the MinGW runtime. The mingw-* and mingw64-* packages for Cygwin are just the toolchain plus some essentials; there is no mingw-libncurses-devel package in distribution. Unless there is a specific reason to cross through Cygwin, it could be easier to use the native MinGW environment directly: * http://www.mingw.org/wiki/Getting_Started And link against the ncurses redistributable: * http://invisible-mirror.net/ncurses/ncurses.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple