X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=gT LRIRRhGNUaO7jP6hmtv8Xa42lb0KoYNe77dbASgKVKKXVmgmDX9XuaNR2uNHwIFn ZBz2VSozi5zckDRlBBGal6OPxmSkJSwHPxV3Yha6wgkHaitO5S0I1HildfcQuVbz PdThkA6aRIuHS4UQDpVtUc1As3iMSEAwhoI6MjUPw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=1vGYiMIc xFPY+8WFFKkJtxakVh8=; b=pt6y7LKaz7k6q9n0/DRvB4a4njvUMllLmVn3orfx HWCXOL5nTpsYLrsaViERs8OKWvlf2Nbogjls3Vv7jDqfCn/Etwtd3PmAtY0CL4jn Wdmzaw/TwCKiiLSr5ZDnRK0lf3LB1Q6PxCuY2vgI4FNar2vRVEoGAbpE3bEO3jJE kRg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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) In-Reply-To: <5636D2C5.6020309@ehdp.com> References: <5636D2C5 DOT 6020309 AT ehdp DOT com> Date: Sun, 1 Nov 2015 23:09:51 -0500 Message-ID: Subject: Re: compile ncurses "hello world" to run independent of cygwin? From: Darik Horn To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes 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