delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/08/06:29:15

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: <3F5C5A41.6010505@hannan-u.ac.jp>
Date: Mon, 08 Sep 2003 19:30:25 +0900
From: Shigeyoshi Tsutsui <tsutsui AT hannan-u DOT ac DOT jp>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1
X-Accept-Language: ja
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: ABC questions

Hi,

Sorry my ABC question on sygwin.
When I try to compile X window program
by
gcc -o target test.c -lX11
ld failed. The message is
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld:
cannot find -lX11

Could someone let me know the reason?

One more is can we make target instead of target.exe when we use -o
target option?

Thank you,

Shige




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