delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/28/21:53: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: <20010329025219.12801.qmail@web6405.mail.yahoo.com>
Date: Thu, 29 Mar 2001 14:52:19 +1200 (NZST)
From: =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001 AT yahoo DOT co DOT nz>
Subject: Re: Missing 'GetSaveFileName' with -mno-cygwin
To: cygwin AT cygwin DOT com
In-Reply-To: <3AC29A15.C263BBBD@amc.com>
MIME-Version: 1.0

--- Clive Levinson <clivel AT amc DOT com> wrote: > I was previously building my
applications using mingw.
> I recently downloaded and installed cygwin, as I wanted
> to use the bash and the Unix toolset.
> 
> A DLL that previously built using mingw is giving problems
> when using cygwin.
> 
> When I execute:
> dllwrap --target i686-mingw32 -mno-cygwin --driver-name gcc \
>         --def clx.def \
>         -o clx.dll clx.o resource.o
> I get the following error:
> clx.o(.text+0xf5):clx.cpp: undefined reference to `GetSaveFileNameA AT 4'

Add -mwindows to get libcomdlg32.a linked in or add link explicitly.
Danny

_____________________________________________________________________________
http://my.yahoo.com.au - My Yahoo!
- Have news, stocks, weather, sports and more in one place.

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