delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/04/05:03:23

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:from:to:cc:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=HUqnuHlInpkcrjCsaPIYoTDbjhuOmL7cinHmFXSYMq9
dewMu0iQqShHwN6bEp8dQ01AVHuR1P5AoIBGnLosEJIvopYZUdvYxUPG+S15M6jY
COCPPeRJ2lvbEtmBfzSFqSSdBi+QhCBVrOYRslJAUb+vj5pOfEwO9agavcL9/r+I
=
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:from:to:cc:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
s=default; bh=TTgRb42Lo97XFTNaZ3flbpnc83U=; b=B8Xs74FsjRLmswxXb
H6jbZVloVSFpfQBdHJteJX0pTRgJU0MWkyZVU7JiIAQDycJYfjwGUrzC040u7N8K
ufxNlN875jRj8fmQ2Pggvrt5JRHAQAdJft6QWiFAT4RXJHnO5MCk5e4J4OjHep/r
cy+yMp6tkp+q/mSRbWMJy3/KS8=
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=4.3 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no version=3.3.2
X-HELO: fep42.mail.dk
X-TDCCM: v=2.1 cv=P/uNXcmg c=1 sm=0 tr=0 a=UkBvB+uqvU6/Um3qsT+p8g==:117 a=UkBvB+uqvU6/Um3qsT+p8g==:17 a=aFu6DeuP_MEA:10 a=kj9zAlcOel0A:10 a=FGbUIcwSFF5DSsFRwRx+Dn4i4Gc=:19 a=6HmQ5F9M1JAA:10 a=l-9JwNKylrQJgQOt0qAA:9 a=CjuIK1q_8ugA:10
X-TDC-Sender-From-IP: 93.161.37.42
X-TDCO-HELO: kofowork
X-TDCO-EPOCH: 1383559361
X-TDCLU: MTIwMTAyNDg0NjIwQHBvc3QudGVsZS5kaw==
X-TDCAU: Z2VydF9rQGFuZGVyc2VuLnRkY2Fkc2wuZGs=
From: "Gert Koefoed Andersen" <gert_k AT andersen DOT tdcadsl DOT dk>
To: "'D. Boland'" <daniel AT boland DOT nl>
Cc: "'D. Boland'" <cygwin AT cygwin DOT com>
References: <001001ced4c3$41168830$c3439890$@org> <52769D49 DOT C03E3F2B AT boland DOT nl>
In-Reply-To: <52769D49.C03E3F2B@boland.nl>
Subject: SV: Some first questions.
Date: Mon, 4 Nov 2013 11:02:46 +0100
Message-ID: <000601ced945$0437f530$0ca7df90$@tdcadsl.dk>
MIME-Version: 1.0

> > 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.
> 
I have compiled lot of sources on linux systems and got now errors here but
on cygwin on my windows 7 32bit things not like to work for me.
What I ever I have done for it, like:
Cd /cygdrive/k/huskysrc/smapi
Or copied it to /src/src/huskysrc
Cd /usr/src/huskysrc/smapi
Make 
Make install
And it ends by error for ld not found some files and others.
Output from cygwin terminal by the error:
gcc   1stchar.o   -o 1stchar
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../libcygwin.a(libcmain.o): I
funktionen "main":
/usr/src/debug/cygwin-1.7.25-1/winsup/cygwin/lib/libcmain.c:39: undefined
reference to `WinMain AT 16'
collect2: fejl: ld returnerede afslutningskoden 1
<builtin>: recipe for target '1stchar' failed
make: *** [1stchar] Error 1

And it look like error in some cygwin files.

Regards,
Gert Andersen


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