delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/02/13/01:45: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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=SZ1rY4c
fDQu5TCXDaCl1UBUXBbH7xpl+nIgsgyO1YJO3w0Hm28mKN7+g+hJHybSRhUg1WUk
FOiuoxfY3QqOYwmOakrFncU3wcu4VSDhq/2TSb8Et3t2MV0xAFtCzmConTim+ZMU
pXnC5S7I4pD0iqyM81a/CNZWiDZDFzEGI57g=
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:from:date
:message-id:subject:to:content-type; s=default; bh=GMncZtCyWA2gc
1Rr3Mev0741UK0=; b=Qk7nzObYZbK5iLx8A/vaN78RWSP0u5Nr5GncuIG99+pGF
3qpPUI0aRS6ALDpLe5VfWOLpj1ica9fTBDMAMyoL8Zlp6jSehAFFdMIqsxa6qlNQ
cDPTdlHJ9B4LXevRLLgsHtgUfKI/SvRnARm1F9l2mniGSrxHK0Tz2aF5U/KbGM=
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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=sk:all-tar, sk:alltar
X-HELO: mail-qt0-f179.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=KCxOgb0imsfi4sMb/fGlYEoWsr4gIySG4lUW6JrtiFE=; b=kWQeUYBiqXPX22AjjU8faX1oniEw4PDajTeLK9DIkVYpe8T8GIckLLXNE34qVe9i8Q akB47Z+XScONtv9DnIHjpk4nW6ZJMM7hrV5AINW47BPlE+7yd1tZf+qInLR8zOTf687r fFQt2GMQU7azEr1MnuvdpL9kYUZL3Iq0nWAMswov0cukfnQOJ6irHmNosC80BPwH/eGj hprSTK+3nD9lzdVWTe+6mpfXDyfPkqJK7BV84lv806YCVzruCCCmo0+gTyxIU/MqZrNK r7gbOw4Gy/Sb5ASnqM3PAYcewM+1ROTjAi/kLmp8F9oCteAOuHyfVMvgNUMAI/6gBPq+ apmQ==
X-Gm-Message-State: APf1xPDKYVKOXzFR5m/p1JD4L+1D+J9OEcE7DUwK0Yx/5eEvti1MTJoL JONv3jnrEEIyqZv+HtbhultwmQOyM5GciV63VfMrd3xd
X-Google-Smtp-Source: AH8x226+fxHT0vqe2KJBB/qXul93Jvs2SiBFxfMpJHRxgUv60WjYtJnNN2RuQGbt6BFU9JHNI37v44lk7eIjpHApCl0=
X-Received: by 10.237.60.150 with SMTP id d22mr318028qtf.210.1518504298306; Mon, 12 Feb 2018 22:44:58 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <CALK-3mJKbEjM7t3P74rJsfD3hNG_8QmZzDD8AD6W5=Gpvnaz1w@mail.gmail.com>
References: <CALK-3mJKbEjM7t3P74rJsfD3hNG_8QmZzDD8AD6W5=Gpvnaz1w AT mail DOT gmail DOT com>
From: Biswapriyo <nathbappai AT gmail DOT com>
Date: Tue, 13 Feb 2018 12:14:57 +0530
Message-ID: <CALK-3mJdoi=pGfY1=bGDYca6+uMo-TmA6BZ9j+r2PXDGn-SChg@mail.gmail.com>
Subject: Re: Compile cygwin1.dll from source code
To: cygwin AT cygwin DOT com

cygwin make command shows this error:

```
../../.././winsup/cygwin/cygmagic: line 25: /usr/bin/awk: cannot
execute binary file: Exec format error
*** WARNING WARNING WARNING WARNING WARNING ***
*** ../../.././winsup/cygwin/child_info.h: magic number for
CHILD_INFO_MAGIC changed old 0xc96f5e9U != new
*** WARNING WARNING WARNING WARNING WARNING ***
c++wrap -O2 -g -fno-rtti -fno-exceptions -fno-use-cxa-atexit -Wall
-Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin
-fmessage-length=0 -MMD -Werror -fmerge-constants -ftracer
-mcmodel=small -c -o dcrt0.o ../../.././winsup/cygwin/dcrt0.cc
../../.././winsup/cygwin/dcrt0.cc: In function 'child_info*
get_cygwin_startup_info()':
../../.././winsup/cygwin/dcrt0.cc:535:76: error: expected
primary-expression before ')' token
       || res->intro != PROC_MAGIC_GENERIC || res->magic != CHILD_INFO_MAGIC)
                                                                            ^
make[3]: *** [../../.././winsup/cygwin/../Makefile.common:41: dcrt0.o] Error 1
make[3]: Leaving directory
'/cygdrive/c/MyFiles/cygwin/x86_64-unknown-cygwin/winsup/cygwin'
make[2]: *** [Makefile:81: cygwin] Error 1
make[2]: Leaving directory
'/cygdrive/c/MyFiles/cygwin/x86_64-unknown-cygwin/winsup'
make[1]: *** [Makefile:9464: all-target-winsup] Error 2
make[1]: Leaving directory '/cygdrive/c/MyFiles/cygwin'
make: *** [Makefile:883: all] Error 2

```


On Tue, Feb 13, 2018 at 10:54 AM, Biswapriyo <nathbappai AT gmail DOT com> wrote:
> I want to edit some code in cygwin1.dll for my project. So, I clone
> git repository from this url:
> git://sourceware.org/git/newlib-cygwin.git
>
> I've gcc, g++, make installed with cygwin and mingw-w64 (and also in
> WSL). But none of them generate DLL file. I also follow the commands
> ./configure & make. Command generates only object files. Is it
> possible to compile cygwin1.dll from its source code?

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