delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/18/11:49:52

X-Spam-Check-By: sourceware.org
X-YMail-OSG: e9DvjboVM1k7AaE76gHRPOeJZNLzLSjn_O0fNXi3qBTN4WP4MOEPAmiwrZboKXP_rDVZOQMOXnMoT4dU9YPQsf5oALg8vxRmvZyrw4C4PUeIT8tfEnTiSlu.uhclVw--
Date: Mon, 18 Jun 2007 08:34:43 -0700 (PDT)
From: Alexey Lyubimov <alexeipobox AT yahoo DOT com>
Subject: RE: 1.5.24-2 (locale.h): Compilation ERRORs ?!
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <521047.75639.qm@web33212.mail.mud.yahoo.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

Dave Korn wrote:

>
>You forgot to tell it to link against libintl.  Try
>
>$ gcc -o gt -g main.c -lintl
>
>    cheers,
>      DaveK
>

Thanks Dave! It works!
But what do you think about this text from the gettext
manual, I've taken the example from:
"Compile as usual with gcc -o hello hello.c. The
program should be linked to the GNU libintl library,
but as this is part of the GNU C library, THIS IS DONE
AUTOMATICALLY for you under Linux, and OTHER SYSTEMS
USING GLIBC."

---
Best regards,
Alexey Lyubimov



       
____________________________________________________________________________________
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php

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