X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <521047 DOT 75639 DOT qm AT web33212 DOT mail DOT mud DOT yahoo DOT com> Subject: RE: 1.5.24-2 (locale.h): Compilation ERRORs ?! Date: Mon, 18 Jun 2007 17:07:33 +0100 Message-ID: <046f01c7b1c2$c7bb6f70$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <521047.75639.qm@web33212.mail.mud.yahoo.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 18 June 2007 16:35, Alexey Lyubimov wrote: > 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." Cygwin is not "Linux [ ... or ... ] other systems using glibc", so on cygwin it is not the case that "this is done automatically". cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/