delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/21/08:08:47

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <002301c31f91$b2cf87d0$0100a8c0@sazzer>
From: "Graham Cox" <aca00gac AT shef DOT ac DOT uk>
To: <cygwin AT cygwin DOT com>
References: <002f01c31f25$e1532740$0100a8c0 AT sazzer> <3ECAD160 DOT 8000807 AT rfk DOT com>
Subject: Re: DirectX and Cygwin
Date: Wed, 21 May 2003 13:08:31 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

On Wednesday, May 21, 2003 2:07 AM [GMT+0100=CET],
Larry Hall (RFK Partners, Inc.) <lhall AT rfk DOT com> wrote:

> So if --enable-stdcall-fixup isn't getting you what you want/need, why
> not do it the "old-fashioned" way and simply declare the prototypes
> for the needed functions with the correct calling convention?  It's a
> little more work but you're sure to get what you need.

All the function prototypes are in the header files that come with the SDK.
Compiling my code with these isn't a problem at all. The problem comes in
when the linker tries to link my object files against the supplies library
files, because the names seem to be different to what was expected. The
library files have names like Direct3DCreate9, and the linker is looking for
Direct3DCreate9 AT 4. As far as I can make out, ld should be able to tell that
these two are the same thing and link one against the other, but it's not
managing to. Therein lies the problem...

--
Graham Cox
3rd year BSc/AI Student
University of Sheffield



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