This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling cygwin from cvs and undefined section reference to .gnu_debuglink in cygwin.sc line143 (there is no 143)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]