From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53610 invoked by alias); 13 Feb 2018 06:45:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 53564 invoked by uid 89); 13 Feb 2018 06:45:02 -0000 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 Received: from mail-qt0-f179.google.com (HELO mail-qt0-f179.google.com) (209.85.216.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Feb 2018 06:45:00 +0000 Received: by mail-qt0-f179.google.com with SMTP id a9so2509872qtj.8 for ; Mon, 12 Feb 2018 22:45:00 -0800 (PST) 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 Received: by 10.200.11.129 with HTTP; Mon, 12 Feb 2018 22:44:57 -0800 (PST) In-Reply-To: References: From: Biswapriyo Date: Tue, 13 Feb 2018 06:45:00 -0000 Message-ID: Subject: Re: Compile cygwin1.dll from source code To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2018-02/txt/msg00133.txt.bz2 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 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