delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/13/01:44:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Date: Fri, 13 Aug 2004 07:44:45 +0200
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit @ cygwin" <cygwin AT cygwin DOT com>
Organization: Esse keine toten Tiere
Message-ID: <1032910977.20040813074445@familiehaase.de>
To: "Dave Korn" <dk AT artimi DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Problem after upgrade to gcc-3.3.3
In-Reply-To: <NUTMEGv1scIzMre6ceJ00000d22@NUTMEG.CAM.ARTIMI.COM>
References: <NUTMEGuJDx21rWOZ1A900000d20 AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <NUTMEGv1scIzMre6ceJ00000d22 AT NUTMEG DOT CAM DOT ARTIMI DOT COM>
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019