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: 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: Programmer knowledge
    ... the MS Windows SDK C-callable API isn't part of any standard. ... >>The Windows API is far less pervasive than MFC. ... Here's a section of what my wizard produced for a "hello world" app. ... one is often either forced to use C++, by needing to use libraries written ...
    (comp.programming)
  • Commercial Software
    ... vexed by the gnu licenses covering their glibc libraries. ... to port my software to linux, I have to write my own libc libraries (which ... The popularity of an operating system depends on the number ...
    (freebsd-questions)