bursens@cui.UUCP (BURSENS Reginald) (03/19/86)
I am a student of the University of Geneva and I have a problem in linking many large FORTRAN77 programs. I work on a personal computer (HP 150). My linker is the last version (version 3.2) of the Microsoft FORTRAN compiler. As I link my FORTRAN77 programs, the MS-FORTRAN linker displays the following error message : "Too many segments". The upper limit on segments is 256. A segment corresponds to an 8086 register. How could I declare fewer segments (without changing the structure of my pro- grams, if possible) ? Does exist a FORTRAN compiler (for personal computer) which : - allows the control and the managing (assignment of the group name and the class name to the segments) of the segments by the user or - its upper limit on segments is greater than 256 or - the managing of the segments is more optimal than the MS-FORTRAN compiler ? If yes then what are its referencies ? Remarks : It's not a problem of available memory !
cramer@kontron.UUCP (Clayton Cramer) (03/24/86)
> > I am a student of the University of Geneva and I have a problem in linking > many large FORTRAN77 programs. I work on a personal computer (HP 150). My > linker is the last version (version 3.2) of the Microsoft FORTRAN compiler. > > As I link my FORTRAN77 programs, the MS-FORTRAN linker displays the following > error message : "Too many segments". The upper limit on segments is 256. A > segment corresponds to an 8086 register. > > Does exist a FORTRAN compiler (for personal computer) which : > > - its upper limit on segments is greater than 256 or > Microsoft Linker V3.05 allows a switch of the form: /SEGMENTS:nnnn where nnnn is up to 1024 segments allowed. I'm not surprised that you don't know about this switch -- the PC-DOS 3.0 manual section on LINK doesn't mention it at all. I found out about it in the LINK section of the Microsoft C compiler manual.