delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/22/10:16:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20020122151548.15477.qmail@iname.com>
MIME-Version: 1.0
X-Mailer: MIME-tools 5.41 (Entity 5.404)
From: "Kar Heng Chan" <khchan AT cyberdude DOT com>
To: cygwin AT cygwin DOT com
Date: Tue, 22 Jan 2002 23:15:48 +0800
Subject: Re: DLL And Visual Basic

greetings.

sorry for the slightly off topic reply...
should be mingw32 stuff.. apologies.

>NB: Additionally I compile with -fnative-struct. I found no 
>documentation for this option (Could anybody explain?) but it is used 
>for the gtk-port and sounds good to me :-)
>

from Tor Lillqvist's gtk page:
"Using GTK+ in your own programs
In order to use the DLLs as distributed in programs you build yourself, you must use either gcc-2.95.2, or Microsoft Visual C++. See the README.win32 file in the GLib sources. With gcc, you should use the -mno-cygwin and -fnative-struct flags. Using any other gcc setup will not work. (Hint: struct field alignment. Hint 2: msvcrt.dll.) If you don't understand what I am talking about, forget it. "

did a little search.. not exactly informative,
but should be enough to avoid some weird bugs.

http://sources.redhat.com/ml/cygwin/1999-09/msg00517.html


rgds,

kh

-- 

_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup


1 cent a minute calls anywhere in the U.S.!

http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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