RE: [ROOT] Compiling under Cygwin win32 in debug mode

From: Valeri Fine (fine@bnl.gov)
Date: Thu Jul 24 2003 - 00:05:28 MEST


Hello 
The right way to build a debug version is to provide the "debug build"
 
./configure win32 -build-debug
make
 
 
This is what I am using every day, (XP, VC++ NET, Cygwin, win32) and
ROOT 3.05.05
 
  Hope this helps, Valeri
 
-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch] On Behalf Of GENTIT
Francois-Xavier DAPNIA
Sent: Wednesday, July 23, 2003 3:50 AM
To: 'Club ROOT (roottalk@pcroot.cern.ch)'
Subject: [ROOT] Compiling under Cygwin win32 in debug mode
 
Dear Rooters and specialists of Cygwin with win32,
 
I work under Windows XP, VC++.NET, Cygwin with win32 (not win32gcc) and
ROOT 3.05.05
 
I have tried to compile and link in debug mode under Cygwin . i.e, I
have replaced in the Makefile
 
CXXOPT           = -O2                by        CXXOPT           = -Z7
and
LDOPT             = -opt:ref           by        LDOPT             =
-debug
 
The result is that the link fails with the message:
 
LINK : fatal error LNK2023: bad dll or entry point 'msobj10.dll'
make: *** [smuster.exe] Error 231
 
 
This happens on all programs, however short they are. This happens for
instance for the programs in $ROOTSYS/test.
 
The reason why I have tried this is that I wrongly believed that gdb
would work with the VC++ compiler. Axel Naumann told me it does not. So
that in my configuration, the only way to debug my programs remains
VC++.NET and a compilation under Cygwin in debug mode is not useful. I
quote this just in case it matters for somebody.
 
 
F.X.Gentit
DAPNIA/SPP CEA Saclay
http://gentit.home.cern.ch/gentit/
 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET