Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 13 Aug 2004 07:44:45 +0200
From: "Gerrit P. Haase" <gp@familiehaase.de>
Reply-To: "Gerrit @ cygwin" <cygwin@cygwin.com>
Organization: Esse keine toten Tiere
Message-ID: <1032910977.20040813074445@familiehaase.de>
To: "Dave Korn" <dk@artimi.com>
CC: cygwin@cygwin.com
Subject: Re: Problem after upgrade to gcc-3.3.3
In-Reply-To: <NUTMEGv1scIzMre6ceJ00000d22@NUTMEG.CAM.ARTIMI.COM>
References: <NUTMEGuJDx21rWOZ1A900000d20@NUTMEG.CAM.ARTIMI.COM> <NUTMEGv1scIzMre6ceJ00000d22@NUTMEG.CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Hello Dave,

>   And indeed it seems that we aren't the first to discover this.

> http://floppsie.comp.glam.ac.uk/pipermail/gm2/2004-June.txt

I tried to integrate Modula2 with the Cygwin GCC, but I saw no
problems with the .def files and missed also that gm2l was not
installed.

>   I don't build dlls often, and even less so with gnu tools.  What
> is the meaning of passing a .def file to the compiler?  Since
> there's nothing in there to compile, but plenty of symbol names, I
> wonder, is this just to get the same .def filename passed through to
> the linker command-line? Try prefixing it with "-Wl," if that's the
> case. 

In case of libglade it works to link the DLL if I use the prefix -Wl,.
Since the link commands are libtool generated in case of libglade, it
is a libtool problem/bug to not use the correct prefix when there is a
.def file on the link command line (iff it is correct to pass it to
the linker).


Gerrit
-- 
=^..^=



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

