From owner-freebsd-questions@FreeBSD.ORG Fri Jun 2 00:05:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A948116ABE1 for ; Fri, 2 Jun 2006 00:05:22 +0000 (UTC) (envelope-from katsuo_harada_evil_does@hotmail.com) Received: from hotmail.com (bay105-f34.bay105.hotmail.com [65.54.224.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C03F43D64 for ; Fri, 2 Jun 2006 00:05:20 +0000 (GMT) (envelope-from katsuo_harada_evil_does@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 1 Jun 2006 17:05:20 -0700 Message-ID: Received: from 65.54.224.200 by by105fd.bay105.hotmail.msn.com with HTTP; Fri, 02 Jun 2006 00:05:15 GMT X-Originating-IP: [86.200.121.163] X-Originating-Email: [katsuo_harada_evil_does@hotmail.com] X-Sender: katsuo_harada_evil_does@hotmail.com From: "Vitaly D" To: freebsd-questions@freebsd.org Date: Fri, 02 Jun 2006 02:05:15 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed X-OriginalArrivalTime: 02 Jun 2006 00:05:20.0315 (UTC) FILETIME=[3C9F70B0:01C685D8] Subject: compiling problem against libc_r X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jun 2006 00:05:25 -0000 Hello i have a reccurent problem while compiling the software originally written for Linux it is often compiled agains pthread library, but in freebsd such a library is called libc_r (i'm using 4.11 RELEASE) so i often adjust configure options with LIBS=-lc_r option but here comes the problem when calling libtool such as following /bin/sh ../libtool --tag=CC --mode=link gcc -g -02 [snip] -lc_r option is present but when immideatly after the effective command is called like gcc -g -02 the -lc_r option is systematically absent!!!!! i've tried to mannually adjust makefile by placing -lc_r option even in CC flag CC= gcc -lc_r but it didn't solve my problem please can you help me. how should i proceed to compile against libc_r ???? cause LIBS=-lc_r doesn't seems to work. it's really boring to execute gcc lines by hand :( HEEELP!!! i'm tired -- Best Regards Vitaly katsuo_harada_evil_does [at] hotmail [dot] com Marseille Nice _________________________________________________________________ MSN Hotmail sur i-mode™ : envoyez et recevez des e-mails depuis votre téléphone portable ! http://www.msn.fr/hotmailimode/