Date: Thu, 1 Apr 2010 15:53:50 +0530 From: Daniel Rodrick <daniel.rodrick@gmail.com> To: freebsd-hackers@freebsd.org, freebsd-drivers@freebsd.org, freebsd-arch@freebsd.org Subject: Newbie question: kernel image a dynamically linked binary? Message-ID: <l2r292693081004010323j42d1ef20k6bcc3ef31a8e440a@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello List, I'm a newbie and coming from Linux background, and am trying to learn FreeBSD now. The first thing I find a little confusing is that the final FreeBSD kernel image is shown as a DYNAMICALLY LINKED binary: $ $ pwd /boot/kernel $ $ file kernel kernel: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), not stripped $ How can the kernel image use shared libraries? And which ones does it use, if any? Also, I cannot find out the libraries the image uses using the traditional ldd command: $ ldd kernel kernel: kernel: signal 6 $ Can some please throw some light? Thanks, Dan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l2r292693081004010323j42d1ef20k6bcc3ef31a8e440a>