Re: Structure of large link libraries in f95



Walter Spector wrote:

How big is your math library?

My user/local/lib currently contains 7.7 Mb, including about a dozen libraries. I would not use all at once, but might use half. I invoke libraries via the makefile LDLIBS macro, so that the selected libraries become available for all programs in a given project (corresponding to a single directory). The core library that incorporates my default programming environment is currently 1.2 Mb. My typical executable is less than 400 kb, though I have one project that consumes 700 Mb.


And is it possible that you'd want some of your routines in different
modules than others? No one says you need (or should) use one 'ginormous'
module.

They are already organized in libraries in a way that is convenient for me. And I might use just the finite-difference gradient routine from MINPACK, just the QR factorization from LLSQ, so that the rest would be dead code.


Shared libs are neat for a variety of reasons. You may see *better* link
times. (Less disk I/O, less relocating.)

OK, something to look at. Some years ago I ran a few examples of .so files from the Sun unix manual, and it was not much trouble. I don't know what I might encounter using cygwin on Windows. So far, cygwin has kept me from having to learn anything about Windows.


ALLOCATABLEs are also safe and easy.

Seems I heard of some potential problem with ALLOCATABLEs, but I can't remember what. Was it a problem with bounds check?
.



Relevant Pages

  • Re: Can MS listen to customers?
    ... IE is comprised of a set of libraries that other applications use. ... a HUGE portion of even a minimal install of Windows (or even in ... For Windows, Notepad, Paint, IE, OE, msconfig, Wordpad, Hearts, NT ...
    (microsoft.public.windowsxp.general)
  • Re: Side-by-side installation on Windows 98SE and Windows 2000
    ... I was surprised to find that this is also supported on Windows 98 ... VB6 cannot create them. ... DLL Search algorithm explores at runtime. ... program (and it's libraries in the app folder) leaves behind a broken COM ...
    (microsoft.public.vb.general.discussion)
  • Re: DFPORT
    ... I work on a Windows XP platform. ... We normally use F77 Fortran and for this one problematic program we ... Since we also have the Intel Fortran compiler, we also had a lot of ... Windows Fortran comper (with appropriate libraries). ...
    (comp.lang.fortran)
  • Re: OS & Code Sharing
    ... So two applications can be running simultaneously. ... most probably looking at a form of multitasking. ... something that looks like windows and that acts like windows. ... which things can be in libraries. ...
    (comp.lang.forth)
  • Re: Side-by-side installation on Windows 98SE and Windows 2000
    ... I was surprised to find that this is also supported on Windows 98 ... I think what it basically comes down to is that DLL/COM Redirection should only be used with COM component libraries that were designed to use it, and VB6 cannot create them. ... However assuming that is true would imply that by registering with a relative path means linkage will occur by using the paths that the Windows DLL Search algorithm explores at runtime. ...
    (microsoft.public.vb.general.discussion)