lkml.org 
[lkml]   [2009]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: source code of dynamic liner
The dynamic loader is part of userspace, so it is not an appropriate
topic for the linux-kernel mailing list.

Your Linux distribution probably includes tools for obtaining the
source package for any installed file. For instance, on Debian-derived
systems including Ubuntu, you can use dpkg-query and apt-get for these
tasks:

# Determine what binary package provides the file /lib/ld-linux.so.2
$ dpkg-query -S /lib/ld-linux.so.2
libc6: /lib/ld-linux.so.2

# Download and untar the related source package
$ apt-get source libc6
... (downloaded 14.5MB of files) ...
dpkg-source: extracting glibc in glibc-2.3.6
dpkg-source: unpacking glibc_2.3.6.orig.tar.gz
dpkg-source: applying ./glibc_2.3.6-0ubuntu20.5.diff.gz

Jeff


\
 
 \ /
  Last update: 2009-11-30 22:21    [W:0.028 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site