From: Andrew Haley <aph@redhat.com>
To: bassis <joebassis@gmail.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: getaddrinfo is not statically compiled
Date: Thu, 29 Apr 2010 17:17:00 -0000 [thread overview]
Message-ID: <4BD86B3E.5020200@redhat.com> (raw)
In-Reply-To: <28390912.post@talk.nabble.com>
On 04/28/2010 05:24 PM, bassis wrote:
>
>
>
> 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.
>
> 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 ?
I tell you what I'd do: I'd either link against the CentOS libraries or
install a CentOS virtual machine and build in there.
Andrew.
next prev parent reply other threads:[~2010-04-28 17:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-28 11:15 bassis
2010-04-28 11:26 ` Andrew Haley
2010-04-28 14:52 ` bassis
2010-04-28 16:24 ` Andrew Haley
2010-04-29 16:19 ` bassis
2010-04-29 17:17 ` Andrew Haley [this message]
2010-04-29 19:38 ` bassis
2010-04-28 17:07 ` John (Eljay) Love-Jensen
2010-04-29 8:18 ` bassis
2010-04-29 21:45 Andrew Haley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BD86B3E.5020200@redhat.com \
--to=aph@redhat.com \
--cc=gcc-help@gcc.gnu.org \
--cc=joebassis@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).