delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/07/07:00:25

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
Date: Wed, 7 Mar 2001 14:58:17 +0300 (MSK)
From: Ildar Mulyukov <ildar AT sendmail DOT ru>
X-Sender: ildar AT natalie DOT faki-campus DOT mipt DOT ru
To: cygwin AT cygwin DOT com
Subject: Using DLL problem
Message-ID: <Pine.LNX.4.21.0103071421580.533-100000@natalie.faki-campus.mipt.ru>
MIME-Version: 1.0

  Well, I've done everything as it was written in docs.
The result is:
I successifully built non-relocatable DLL and a program to use it. BUT as
I build dll, demo stackdumps' in the dll in a function that does something
useful. (behaving ok in an empty function). But linked statically program
runs perfectly! Same code, different behaviours...

In fact I failed to build a relocatable DLL as it was described in Users
Guide at Cygwin site. It complains:
/usr/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined 
reference to `WinMain AT 16'

Is it non-concurrensy of docs? 

Any help would be appresiated...
-- 
Ildar Mulyukov, student of DACR, MIPT (Moscow, Russia)
e-mail: ildar AT sendmail DOT ru, ICQ# 4334029



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