delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/12/14:53:21

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <000701bf2d48$41067260$2e0981d4@ziggy>
From: "vincent penne" <vincent DOT penne AT freesbee DOT fr>
To: "Mumit Khan" <khan AT thor DOT xraylith DOT wisc DOT edu>
Cc: <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Building C++ library DLL
Date: Fri, 12 Nov 1999 20:58:13 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

-----Message d'origine-----
De : Mumit Khan <khan AT nanotech DOT wisc DOT edu>
À : vincent penne <vincent DOT penne AT freesbee DOT fr>
Cc : cygwin AT sourceware DOT cygnus DOT com <cygwin AT sourceware DOT cygnus DOT com>
Date : vendredi 12 novembre 1999 18:12
Objet : Re: Building C++ library DLL


>
>It should work. Why not just try it out?
>
>

I tryed on a simple example, and it turned out that one problem came from
the fact that the extenstion of my objects was not .o but .dllo (it's
because I was creating a static library at the same time).
It seems dllwrap only works when it is given some .o objects ...

My simple example works then ...

But with a more complicate library, I still have some internal compiler
error when using class that are defined as
class __declspec(dllimport) foo

Here is an example of such message :

././Fl_Menu_Type.cxx:469: Internal compiler error, output_operand_lossage
`inval
id expression as operand'

The line where it crashes is a declaration of a variable of type foo, it is
not a variable of the library, but a variable of the program that uses it
...

I am using gcc 2.95, but I encountered some internal errors with egcs too
(however I'm not sure they were happening at the same points, I might try
this now ...)



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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