delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/16/23:36:14

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sun, 16 Sep 2001 23:36:15 -0400
From: Christopher Faylor <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: darco AT bigfoot DOT com
Subject: Re: DirectX Frustrations
Message-ID: <20010916233615.A7085@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, darco AT bigfoot DOT com
References: <002501c13f27$89c24810$4e3d2804 AT bellatrix>
Mime-Version: 1.0
In-Reply-To: <002501c13f27$89c24810$4e3d2804@bellatrix>
User-Agent: Mutt/1.3.21i

On Sun, Sep 16, 2001 at 08:19:18PM -0700, Rob Quattlebaum wrote:
>I have gotten it to the point where everything compiles, and I fail at
>linktime.
>
>Here is a log of the GCC builds: >http://www.voria.net/darco/geode/02.txt

Your link line looks like this:

gcc -g -mwindows -lddraw -ldinput -ldsound -ldxguid -lwinmm  src/winproc.o 

The '-lwhatever' options do not precede the object files they go AFTER
the object files.  This has been mentioned here repeatedly.  It's not
a cygwin issue.  This is how gcc and ld work everywhere.

I suspect that you'll probably have lots of other problems given all of the
warnings that are in your build log but this much at least you should
fix.  I'm surprised that you couldn't find this if you actually have
looked in the email archives as you indicated.

cgf

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