delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/21/15:55:01

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=4.5 required=5.0 tests=AWL,BAYES_40,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-id: <4F6A31F0.8090500@cygwin.com>
Date: Wed, 21 Mar 2012 15:54:24 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: aplus-fsf (XWarpPointer)
References: <CABn7SNboxAf5bjL0qrAOnE0gfGOmKuiCASK4S=t7NW2Df7hHcg AT mail DOT gmail DOT com>
In-reply-to: <CABn7SNboxAf5bjL0qrAOnE0gfGOmKuiCASK4S=t7NW2Df7hHcg@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 3/21/2012 1:39 PM, Tom Szczesny wrote:
> a snippet from     aplus-fsf-4.22/src/main/Makefile    :

<snip>

> I assume that the line
>       X_LIBS= -L -lX11
> should read something different.

Indeed.

> I've tried various things to no avail.
> What is normally put in a Makefile to indicate the location of X_LIBS
> for a Cygwin build?

In this case, the culprit is a buggy (or bit-rotted?) configure script for
Cygwin.  A library search path is not set up so, well, the script ends
up with an empty one.  As a result, there's no path to put after the
-L flag.  Since libX11.dll.a is in /usr/lib, you should be able to get away
with just eliminating the -L flag completely from the Makefile (I didn't
test this).

In general, the best place for X specific questions with Cygwin is the
cygwin-xfree list though.  That's where the most knowledgeable X folks
are.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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