Thanks, Adam.

Is this roughly the same on all relevant platforms for DMD?

I was thinking [hoping?] that maybe this was a problem vis-a-vis the Mac OS X linker, i.e. a situation such that the linker isn`t dropping anything from the referenced libraries, even when the majority of the stuff in those library files is not being used in the currently-being-linked object file.

BTW: using "strip" [no special options] on the executable produces a steep drop in the length of the "nm" output, but only a small change in actual size:

  > ls -l foo
  -rwxr-xr-x  1 Abe  wheel  469112 Aug 31 19:08 foo

  > nm foo | wc -l
    1263


— Abe

Reply via email to