delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/24/13:01:08

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: <3FC24682.2010406@users.sourceforge.net>
Date: Mon, 24 Nov 2003 18:57:22 +0100
From: Jerome Robert <jeromerobert AT users DOT sourceforge DOT net>
Reply-To: jeromerobert AT users DOT sourceforge DOT net
User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.3) Gecko/20030313
X-Accept-Language: fr, en-us, en
MIME-Version: 1.0
To: mingw-users AT lists DOT sourceforge DOT net, cygwin AT cygwin DOT com
Subject: libmoldname.a with msvc

Hello,
I created an executable with msvc, linked to libmoldname.a from mingw. I 
did it because my program is full of call to function underscored by 
Microsoft (_strdup, _putenv...). My executable is crashing each time I 
call a function from libmoldname. When debugging the assembly code I can 
see that the jump to __imp__putenv drive to a bad memory address. I can 
see from the map file created by the linker that __imp_putenv is 
included from msvcrt.lib. I also tryed to link my program with 
libmsvcrt.a but it crash before entering the main function. I am using 
mingw runtime 3.2 from the cygwin distribution.

Did someone tried to do this before and get the same troubles ?

Best regards,

Jerome.



--
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