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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=cAN9mBAPNEum0Y/p4BIsKjRBo6QPqi6yczsEYuvmE8MJtPVu3PvBN xQU19RhvUOVHz14nCL4xnpIlS9YRU9maBs8oMUvc3u+IQgfeUvH3+VNssSNyToMj DdpTRKM2vfgNP3QZerEGwc5avb8Y/xU8knAy0CvOhen8aMjTEkeSQs= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=i+oGfBQTAMlrOkdlNdv10R5QVVw=; b=dt55Qm7x5XzVPSSbVztVlSg2DcG5 fafgVweityl657lDspFRyJZa7/yr3pozsk5f6vizqEjEsbS/IDkz7rlmXjzOXf/H cCaOL4tsG2kdhLBJjXDYii8XDuZ/MglUBegv6taEUY2VDYOsNsUjHQ4jzeh5FRf3 s591QUoQutccPlk= 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_00,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: "D. Boland" Subject: Re: Some first questions. Date: Sun, 03 Nov 2013 20:00:25 +0100 Lines: 46 Message-ID: <52769D49.C03E3F2B@boland.nl> References: <001001ced4c3$41168830$c3439890$@org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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. > 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 ? > > 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. > > Regards, > Gert There is a standard location for sources, as is for libraries and includes. In Cygwin it's /usr/src. In some other Linuxes it's /usr/local/src. I have been compiling lots of source distributions over the years. I am not aware that you have to move or copy Makefiles. As far as I know you just need to: cd /usr/src/yournewapp ./configure make make install With the last command, all configuration files are automatically put in the right folders. HTH, Daniel -- 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