delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/29/13:39:58

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=uE03ascFyYVg0VP3+fpWeShIPZilBe8GZag7S001iincA4oj2HLuQ
UIuLFNiHvpISqcQa05bTY+fzOgTjE28Afdc/DpJfwF+ftbVbFM4e3bgnbFIzCUEs
tst8f8iXINrelR2gAfB8/9OjQ/hg0z61RFStEJetQbe94v9BRrUsVk=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=MXUKSs8VaA5S+WfXc6tw/qMRBJ0=; b=be8WqruK3jPdeHUNUe2Y0yKuriqO
xeC4mCjux67ikKBrr67Sz0TxrWQjxkPelzu+ysSbVkazJnV/S3OIWkqSFzttMYyf
l7M1lfMADu6n+mpZxpNMWztrSWqYAKo9iUak5VB6nzxpCjnj/GzyNdLGLc8ogKw6
lKmhS6CrkR6XkHE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: mho-02-ewr.mailhop.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX19wdmkV3hy9dCqPOUgbVKaa
Date: Tue, 29 Oct 2013 13:39:40 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Some first questions.
Message-ID: <20131029173940.GA5229@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <001001ced4c3$41168830$c3439890$@org>
MIME-Version: 1.0
In-Reply-To: <001001ced4c3$41168830$c3439890$@org>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Tue, Oct 29, 2013 at 05:23:50PM +0100, Gert Koefoed Andersen wrote:
>Hello list.
>
>I have some first questions for cygwin works on windows 7 by compile sources
>I normally just fine compile on my linux systems but not like to compile
>well and by cygwin.
>The sources I trying to compile is been packed on linux with tar archiwing
>program so I can get the sources over to windows 7 and cygwin.
>
>So it is then this then.
>1. where is the best place to unpack the sources for compile by cygwin.

That isn't really a question that is answerable.  Make a directory and
extract the files to it.  No one can tell you the name of a directory to
use.

You can create a directory in your home directory or, e.g., create a
/usr/src/foo directory and extract files there.  It's entirely up to
you.

>   My windows cygwin is installed on c:\cygwin and by installing cygwin is
>the cygwin download sources been put at k:\cygwinsrc.
>2. if the extra sources is best to be places at k:\cygwin, then is it then
>best to handle them for cygwin ?

Cygwin doesn't use paths like c:\cygwin.  If your cygwin installation is
c:\cygwin then that means that is your root directory: /.  k:/cygwin
would be referenced, by Cygwin, as /cygdrive/k/cygwin.  It's ok if you
want to put files there but you should use the Cygwin method for referencing
this location.

>3. Then is it that - the sources have makefiles .cyg and other compilers +
>some main configs like Makefile and huskymak.cfg.
>When I have copied the file makefile.cyg to makefile.cfg and then have this
>file in the main home dir for example - \...\husky\smapi\ and then is got in
>to \smapi source dir and then run make to compile the sources for smapi goes
>it fine to I getting a error of gcc -mno-cygwin and then error 2 of it not
>can find some file it should make and when I checking out for the file is it
>where it should be by not compile to make a .o files for more compile
>finish.

-mno-cygwin is an ancient option that is no longer supported (it only
took me 10 years or so to get rid of it).  If you are building binaries
which don't use Cygwin then you should use a mingw compiler, installed
from setup.exe.  Or, you should just be using MinGW directly from
mingw.org.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019