This is the mail archive of the cygwin-apps 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: 1.7 installation failed (on network drive?)

Christopher Faylor wrote:
> On Thu, Dec 10, 2009 at 08:19:50PM +0000, Dave Korn wrote:
>> Corinna Vinschen wrote:
>>>>>  cvs -d setup
>>>>>  CC=gcc-3 configure
>>>>>  make 'CFLAGS=-g'
>>>> So I don't need to switch, thanks.
>>>> Actually, I already checked out and compiled (after installing a
>>>> bunch of dependencies) over night after cgf's pointer to
>>>> However, I didn't include the -g flag, assuming that leaving out the
>>>> final 'strip' step might suffice.
>>  Only because the default CFLAGS has -g in it; if you do need to override it,
>> you must specifiy -g yourself.
>>> The important thing here is to avoid the default -O2 flag.  It makes
>>> debugging a lot harder.
>>  I'd recommend using CFLAGS='-g3 -O0' myself.  It's worth having the debug
>> info level turned right up.
> Don't you need to use CXXFLAGS for setup since it's c++?

  Boh.  Yes.  Thinko.  CFLAGS only useful if you wanted to debug autoload or
the crypto libs.


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