X-Recipient: archive-cygwin@delorie.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@cygwin.com>
Reply-to: cygwin@cygwin.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@cygwin.com
Subject: Re: aplus-fsf (XWarpPointer)
References: <CABn7SNboxAf5bjL0qrAOnE0gfGOmKuiCASK4S=t7NW2Df7hHcg@mail.gmail.com>
In-reply-to: <CABn7SNboxAf5bjL0qrAOnE0gfGOmKuiCASK4S=t7NW2Df7hHcg@mail.gmail.com>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

