delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/22/09:23:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <7BCD42353C1FD411A66200062939B2F1ACA3C6@EXCHANGE>
From: Pavel Rozenboim <pavelr AT coresma DOT com>
To: cygwin AT cygwin DOT com
Subject: RE: pavel (porting c code from unix to windows )
Date: Tue, 22 Oct 2002 15:10:51 +0200
MIME-Version: 1.0


> -----Original Message-----
> From: nemrut cesetevi [mailto:cesetevi AT hotmail DOT com]
> Sent: Tue, October 22, 2002 2:50 PM
> To: cygwin AT cygwin DOT com
> Subject: re:pavel (porting c code from unix to windows )
> 
> 
> 
> 
> You may use strace or gdb to trace and debug the program. You 
> probably may
> debug it with any other windows debugger as well.
> 
> i use gdb .and see that cygwin gives a visual platform of 
> gdb.but i shows 
> assembly instructions. any solution for c style tracing?
This means that either program was compiled without debug information, or
that gdb unable to find it or unable to find the source. You need to add -g
flag to compiler to enable debug information. Use 'directory' command in gdb
to add directories to source search path.

> 
> **************************************************************
> **********
> 
> Not directly. You may try to create custom visual c++ 
> project, and configure
> it to run make for build or specify gcc as custom compiler, 
> so VC++ will
> invoke it to compile your files. I have this done with 
> different compiler,
> but don't remember exact steps how to do it.
> 
> 
> here your ideas are very important for me. it is time to tell 
> my problem.
> i have a big program . it has many c files. and uses 
> lex&yacc. it works on 
> rh7.3. i want to try to port it on windows. i search internet 
> and hear about 
> "cygwin". why do i port it ? because i want to solve its 
> algorithm.so i use 
> visualc++ .did i tell my problem briefly?
> 
> if u know anyway to run it with visualc++ or visual debugger ?
> borlandcbuilder ?
> 
> also i search custom debugger setting in visual and cant find 
> any trick.
> 
> 
> be happy.
> 
> _________________________________________________________________
> Unlimited Internet access -- and 2 months free!  Try MSN. 
> http://resourcecenter.msn.com/access/plans/2monthsfree.asp
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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