delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/07/09:38:16

X-Spam-Check-By: sourceware.org
Date: Thu, 7 Jun 2007 09:37:54 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin1.dll building question
Message-ID: <20070607133754.GA4519@ednor.casa1.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20070607133043 DOT 3515B13C14E AT cgf DOT cx>
MIME-Version: 1.0
In-Reply-To: <20070607133043.3515B13C14E@cgf.cx>
User-Agent: Mutt/1.5.15 (2007-04-06)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Thu, Jun 07, 2007 at 09:30:22AM -0400, Olivier Langlois wrote:
>Hi,
>
>I wanted to add the function strcasestr() from glibc to the cygwin's libc
>and I have encountered a serie of difficulties and questions. Some of them
>are related to the process of offering changes to cygwin but I will reserve
>those for the other mailing list.
>
>1- I have modified a Makefile.am file to include the new c file to compile
>but I have never been able to regenerate the corresponding Makefile.in. I
>have guessed that maybe I had to configure the project in the maintainer
>mode but I have never been able to make it work with the needed custom tools
>from RedHat. I have finally workaround problem #1 but editing manually the
>Makefile.in file. How are you supposed to regenerate the Makefile.in?

You must be referring to newlib if you are talking about Makefile.am.
newlib has its own mailing list newlib at sourceware PERIOD org .
You'll need to talk to the maintainer of newlib if you are adding a new
function there.

>3-The generated cygwin0.dll looks like an exact copy of cygwin1.dll. Does
>that dll has a special purpose or it is just a building artifact?

Please look at the Makefile.

>4-My generated libcygwin.a is 3.6MB vs 953KB for the one distributed with
>the cygwin binaries. Obviously, I did not build the same thing. Does someone
>have an idea about what would explain that difference?

The standard answer: debugging symbols.

>5-Doing 'make install' broke my cygwin setup (gcc was exiting without
>generating any output). Even reinstalling every cygwin components from
>setup.exe did not solve the problem. To fix that problem, I have to erase
>the 'cygwin' directory completely before reinstalling cygwin. To workaround
>that problem, instead of doing 'make install' I have just manually copied
>cygwin1.dll and libcygwin.a from the src package to the appropriate
>locations.

Under windows, if you install over top of an in-use dll, you are asking
for problems.  You really do have to copy cygwin1.dll manually, using
windows commands.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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