[ROOT] Compiling under Cygwin win32 in debug mode

From: GENTIT Francois-Xavier DAPNIA (GENTIT@dapnia.cea.fr)
Date: Wed Jul 23 2003 - 09:49:53 MEST


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