View Single Post
  #5   (View Single Post)  
Old 4th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
Join Date: May 2008
Location: USofA
Posts: 1,546

Originally Posted by audio View Post
Okay, so to make sure I understand this correctly... I can run the script from the second link you provided and choose something like "base bin sbin and ubin" and it will extract the source code for the binaries in those directories which I can then statically compile?
Actually that script looks like it is probably the script from the install CD used for installing the source tree via sysinstall.

If you look at pub/FreeBSD/releases/i386/7.0-RELEASE, you are basically browsing what is on the ISO images for 7.0-RELEASE.

In the end you just get what you would get if you downloaded the relevant parts of the source tree, which you might already have -> you didn't say.
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote