[net.micro] HELP! with LINKING Microsoft FORTRAN

duchene@noscvax.UUCP (Susan S. Duchene) (07/30/85)

I have compiled a large group (83) of subroutines using
the Microsoft FORTRAN compiler.  I've tried linking them
by putting them into libraries, or compiling groups of
subroutines together.  I've also tried to use overlays
with the Microsoft linker.  The error message reads:

Too many segments
Input File FORTRAN.LIB(heah) pos: 7DA@ Record type: 98

Anybody got some suggestions?     duchene@nosc

Susan S. Duchene (619) 225-2681

johnl@ima.UUCP (08/01/85)

> /* Written  2:06 pm  Jul 30, 1985 by duchene@noscvax in ima:net.micro */
> I have compiled a large group (83) of subroutines using
> the Microsoft FORTRAN compiler.  [When linked]
> with the Microsoft linker, the error message reads:
> Too many segments

The Microsoft linkers (including the versions provided with PC-DOS) only
allow 256 segments, total, per program.  You are almost certainly running
into that limit.  I've never found any way to trick MS-LINK into doing the
right thing.  You should consider another linker, PLINK-86, from Phoenix
Software Associates in Norwood, MA.  It allows zillions of segments, and also
has overlays that really work -- we use them all the time.

John Levine, ima!johnl