delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/09/19:36:15

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: <71251C7D5FB1D2119C8F0008C7A44ED1037925F2@es07snlnt.sandia.gov>
From: "Liang, James" <jliang AT sandia DOT gov>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: using shared libraries w/o cygwin
Date: Tue, 9 Mar 2004 17:35:44 -0700
MIME-Version: 1.0
X-PMX-Version: 4.5.0.90627, Antispam-Core: 4.0.4.92622, Antispam-Data: 2004.3.9.93811
X-WSS-ID: 6C50BD6E1006439-01-01

Hi.  I've got a port of objcopy that I'd like to run on Windows systems.
I'd rather not have to install cygwin on the machine that
I'm going to be running this tool on.

The problem I'm having is that whenever I run my program on a file, it
appears to have a STACK_VIOLATION on a call to malloc.  
It works just fine under Linux, under cygwin, and can print the usage
statement and things like that under "DOS", 
but crashes in DOS whenever I actually pass it a data file. 

So far, the only explanation I can come up with is that there's some sort of
failure during the dynamic libraries.  Is there any way I can
setup a DOS environment to make it run?  I tried statically linking in bfd,
but that didn't seem to the problem either.  Could this be caused
by something else?

James 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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