From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 16 Jun 2005 19:52:44 +0400 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20050616155244.GO2751@solemn.turbinal.org> Mail-Followup-To: ALT Devel discussion list References: <20050615223723.GE2751@solemn.turbinal.org> <200506161318.47635.zerg@altlinux.org> <20050616124026.GK2751@solemn.turbinal.org> <200506161736.31731.zerg@altlinux.org> <20050616134154.GD1694@immo.ru> <20050616151140.GN2751@solemn.turbinal.org> <20050616152036.GA20187@basalt.office.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kVcb4xucqmsYUpQy" Content-Disposition: inline In-Reply-To: <20050616152036.GA20187@basalt.office.altlinux.org> Subject: [devel] Re: RFC: test-libs X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 15:53:50 -0000 Archived-At: List-Archive: List-Post: --kVcb4xucqmsYUpQy Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 16, 2005 at 07:20:36PM +0400, Dmitry V. Levin wrote: > > =F5 =D3=D4=C1=D4=C9=DE=C5=D3=CB=CF=CA =CC=C9=CE=CB=CF=D7=CB=C9 =CE=C1 = =D0=CC=C1=D4=C6=CF=D2=CD=C5 GNU/Linux (glibc) =C9=CD=C5=C5=D4=D3=D1 =EF=C4= =CE=C1 > > =E2=CF=CC=D8=DB=C1=D1 =F0=D2=CF=C2=CC=C5=CD=C1: =D3=CC=CF=CD=C1=CE=CE= =D9=CA =D2=C5=DA=CF=CC=D8=D7=C5=D2. =F3=CD. > > http://www.livejournal.com/users/avva/1380158.html?thread=3D26193470#t2= 6193470 >=20 > =F0=CF =DC=D4=CF=CD=D5 =C1=C4=D2=C5=D3=D5 =D0=D2=CF resolver =CE=C9=DE=C5= =C7=CF =CE=C5 =CE=C1=D0=C9=D3=C1=CE=CF. > =E1 =D4=CF, =DE=D4=CF =D4=C1=CD =CE=C1=D0=C9=D3=C1=CE=CF, =CE=C1=D0=CF=CD= =C9=CE=C1=C5=D4 =D4=D2=A3=D0 =C2=C5=DA=C4=C5=CC=D8=CE=C9=CB=CF=D7. > =EE=D5 =C1 =D7 =DE=A3=CD, =D3=CF=C2=D3=D4=D7=C5=CE=CE=CF =C7=CF=D7=CF=D2= =D1, =D0=D2=CF=C2=CC=C5=CD=C1? $ cat test.c #include #include int main() { struct hostent *h =3D gethostbyname("localhost"); printf("%s\n", h->h_name); return 0; } $ gcc -static test.c /home/at/tmp/cceSSWrL.o(.text+0x25): In function `main': test.c: warning: Using 'gethostbyname' in statically linked applications re= quires at runtime the shared libraries from the glibc version used for link= ing $ filereq /dev/stdout ./a.out localhost.localdomain /etc/host.conf /etc/hosts /etc/ld.so.cache /etc/nsswitch.conf /etc/resolv.conf /lib/i686/ld-linux.so.2 /lib/libc.so.6 /lib/libnss_files.so.2 $ =F4=CF =C5=D3=D4=D8 =D3=D4=C1=D4=C9=DE=C5=D3=CB=C9 =D3=CC=C9=CE=CB=CF=D7=C1= =CE=CE=D9=CA c libc.a =C2=C9=CE=C1=D2=D8 =D7=D3=A3 =D2=C1=D7=CE=CF/=D7 =CC= =C0=C2=CF=CD =D3=CC=D5=DE=C1=C5 =D0=CF=C4=C7=D2=D5=D6=C1=C5=D4 =D2=C1=DA=C4=C5=CC=D1=C5=CD=D9=C5 =C2=C9=C2= =CC=C9=CF=D4=C5=CB=C9, =C4=C1=D6=C5 =D7=CB=CC=C0=DE=C1=D1 libc.so.6! =F0= =D2=C9=DE=C5=CD, =D4=D2=C5=C2=D5=C5=D4=D3=D1 =D4=C1 =D6=C5 =D3=C1=CD=C1=D1 =D7=C5=D2=D3=C9= =D1 =D2=C1=DA=C4=C5=CC=D1=C5=CD=D9=C8 =C2=C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=C1=C0=D4: =DE=D4=CF =D6=C5 =DC=D4=CF =DA=C1 =D3=C9=D3=D4=C5=CD=C1, = =D7 =CB=CF=D4=CF=D2=CF=CA =CE=C9=C8=D2=C5=CE=C1 =D3=D4=C1=D4=C9=DE=C5=D3=CB=C9 =D3=CF=C2=D2=C1=D4=D8 = =CE=C5=CC=D8=DA=D1 - =D2=C5=DA=CF=CC=D7=C5=D2 =D2=C1=C2=CF=D4=C1=D4=D8 =CE= =C5 =C2=D5=C4=C5=D4?! --kVcb4xucqmsYUpQy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCsaBMfBKgtDjnu0YRAqWkAJ4weXo9DteobNGM/qe1H94PxS3dFACguQt1 QJ/4SMTGiMBjeK/D1CTSEvc= =VoKF -----END PGP SIGNATURE----- --kVcb4xucqmsYUpQy--