🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by BURSENS Reginald Wed, 19 Mar 1986 00:08
Segments
#344
Author: BURSENS Reginald
Date: Wed, 19 Mar 1986 00:08
24 lines
1509 bytes
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 !
Re: Segments
#347
Author: Clayton Cramer
Date: Mon, 24 Mar 1986 17:49
22 lines
1530 bytes
> 
> 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads