Re: Static libraries in Fedora distribution (Was: Re: [Help Wanted] PPC64LE build for thrift)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 15, 2017 at 05:08:50PM +0000, Daniel P. Berrange wrote:
> There are entire non-C language toolchains in
> Fedora that are based on static compilation - eg OCaml

Although I'm nit-picking, this isn't entirely true.

OCaml doesn't statically link C code, as you can see from:

$ ldd /usr/bin/virt-builder 
  linux-vdso.so.1 (0x00007ffedf3e2000)
  libguestfs.so.0 => /lib64/libguestfs.so.0 (0x00007fbc8210c000)
  libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbc81eee000)
  libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007fbc81cc2000)
  libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fbc81a8c000)
  liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fbc81866000)
  libxml2.so.2 => /lib64/libxml2.so.2 (0x00007fbc814fd000)
  libyajl.so.2 => /lib64/libyajl.so.2 (0x00007fbc812f3000)
  libm.so.6 => /lib64/libm.so.6 (0x00007fbc80fe2000)
  libdl.so.2 => /lib64/libdl.so.2 (0x00007fbc80dde000)
  libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fbc80bc7000)
  [... continued for many more lines ...]

And even after that there are now options for dynamically linking
OCaml code, it's just that they're not very widely used upstream.
Since OCaml pays attention to safety this isn't so much of a problem
as with C.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux