Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20030117145817.95468.qmail@web20002.mail.yahoo.com> Date: Fri, 17 Jan 2003 06:58:17 -0800 (PST) From: Joshua Daniel Franklin Subject: Re: RESOLVED: Using gcc to build a DLL discovered and linked at runtime To: jek-cygwin AT kleckner DOT net, cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii References: <3E2753C9 DOT 4040008 AT kleckner DOT net>, <3E25A7EE DOT 7050109 AT kleckner DOT net> > After carefully inspecting the symbols from > generated dlls and dlls provided by TradeStation, > I found that symbols occurred with and without the > @decorations. e.g. PPI AT 4 and PPI. > > Adding -Wl,--add-stdcall-alias to the gcc line, > all worked fine. > > Could this generally be a requirement for dlls > that are opened at runtime in a fashion similar to > dlopen? If so, then some FAQ annotation would be > in order here: > http://www.cygwin.com/cygwin-ug-net/dll.html I may be wrong (I'm not a GCC expert), but isn't that more of a gcc thing than a cygwin thing? I don't want to end up pasting the whole gcc manual into the "Using DLLs" page. It's really only intended to be a quick start for cygwin, not a comprehensive guide. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.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/