delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/02/20:17:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 02 Jun 2008 20:16:19 -0400
To: cygwin AT cygwin DOT com
Subject: Re: Compiling cygwin from cvs and undefined section reference to .gnu_debuglink in cygwin.sc line143 (there is no 143)
X-Mailer: Virtual Access Open Source http://www.virtual-access.org/
Message-Id: <VA.00001806.01f09619@thesoftwaresource.com>
Mime-Version: 1.0
From: Brian Keener <bkeenerReMoVeAnTiSpAm AT thesoftwaresource DOT com>
In-Reply-To: <VA.00001803.004419c6@thesoftwaresource.com>
References: <VA DOT 00001803 DOT 004419c6 AT thesoftwaresource DOT com>
Reply-To: cygwin AT cygwin DOT com
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

Remembering I meant to check the FAQ for any extra instructions on 
building a debug Cygwin I checked there but still didn't find any clue. 
I did though trying a few more options in google find this message from 
Corinna in the archive from Feb 
(http://cygwin.com/ml/cygwin/2008-02/msg00340.html)
and tried its simple instructions:  

"Building cygwin from CVS requires gcc, a spare build directory (don't
build in the source dir), and the deep knowledge how to get rid of the
optimizer flag when building.  It boils down to

  Read http://cygwin.com/cvs.html
  [...]
  $ cvs co winsup
  $ mkdir ../build
  $ cd ../build
  $ ../src/configure
  $ make CFLAGS=-g CFLAGS_FOR_TARGET=-g
  Stop all Cygwin processes
  Replace /bin/cygwin1.dll with new-cygwin1.dll from your build dir.
  Copy cygwin1.dbg from the build dir to /bin.
  Start debugging."


I still get the same error when building.  I have built before so I am 
not sure what I have run into this time that seems to be stopping me.

bk




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