delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/30/20:21:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <2C08D4EECBDED41184BB00D0B747334202FB4359@exchanger.cacheflow.com>
From: "Karr, David" <david DOT karr AT cacheflow DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: Execute "strace" on an executable in GNU make?
Date: Mon, 30 Apr 2001 17:22:13 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

Sigh.  Yes, that is the case.  Ok, so "strace" won't help me.  Is there any
other information I can gather on this situation?  It just will not run from
within Make, no matter how I coerce it.  It always fails immediately with
"Invalid Argument", even before getting to "main".

-----Original Message-----
From: Christopher Faylor [mailto:cgf AT redhat DOT com]
Sent: Monday, April 30, 2001 5:14 PM
To: 'cygwin AT cygwin DOT com'
Subject: Re: Execute "strace" on an executable in GNU make?


On Mon, Apr 30, 2001 at 04:39:21PM -0700, Karr, David wrote:
>I'm getting an unexplainable error (Invalid Argument) when I run a
>particular executable, but only when I run it from "make".  The executable
>is not a cygwin executable.  It runs fine when I run it from Bash or DOS,
>just not from within Make.  I've tried changing the call from "<program>"
to
>"cmd /c <program>" and "/bin/sh.exe -c <program>", but both of those fail.
>I tried putting a print statement at the top of "main" (It's a C program),
>but it doesn't get there when it fails.
>
>Will running the executable from the Makefile with "strace" help me?  I'm
>trying to figure out how to do this, but no matter what I specify with
>"strace", I only get a zero length output file.  Other people here with
>similar environments don't get this symptom.

strace only works on programs which use the cygwin DLL.  IIRC, the
program that you are attempting to execute is not a cygwin program.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019