From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31648 invoked by alias); 28 Apr 2010 16:24:22 -0000 Received: (qmail 31636 invoked by uid 22791); 28 Apr 2010 16:24:21 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 28 Apr 2010 16:24:17 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1O7A3b-0003Rr-FM for gcc-help@gcc.gnu.org; Wed, 28 Apr 2010 09:24:15 -0700 Message-ID: <28390912.post@talk.nabble.com> Date: Thu, 29 Apr 2010 16:19:00 -0000 From: bassis To: gcc-help@gcc.gnu.org Subject: Re: getaddrinfo is not statically compiled In-Reply-To: <4BD842AE.9080901@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <28385701.post@talk.nabble.com> <4BD7F591.2070109@redhat.com> <28387972.post@talk.nabble.com> <4BD842AE.9080901@redhat.com> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2010-04/txt/msg00319.txt.bz2 Andrew Haley wrote: > > Which version differences do you want to avoid? > > gcc liks with libc by default. I don't know what you're asking. > > If you really need getaddrinfo you can always shell out to an external > program. I'm not sure that's a good idea, though. > > Andrew. > > I want to avoid linux-distribution differences. All I want is to run my program in CentOS but my program in compiled in Debian. A much easier solution would be to simply compile my program in CentOS but I do not have permission to do this. So, I was thinking of making my program use the libc and ld files of Debian instead of the ones provided by CentOS. Is this not possible ? Is there another way of doing this ? -- View this message in context: http://old.nabble.com/getaddrinfo-is-not-statically-compiled-tp28385701p28390912.html Sent from the gcc - Help mailing list archive at Nabble.com.