ERROR segment text exceeds 64K 
Author Message
 ERROR segment text exceeds 64K

: Hello,

: I write a large progam with the next large array

:   unsigned char DefaultNlC1[2048]={
:   0xFF,0x55,0xAA,0x83..........
:   |
:   |
:   0x7F,0xC3};

: The compiler give me the error "segment text exceeds 64K" can someone
: tell me the solution to this problem.

:  
: --

: /------------------------------------------------\
: |                                                |
: |    Have a nice day, Rene                       |
: |                                                |
: |    Renz Software                               |

: |     http://www.*-*-*.com/ ~belford          |
: |                                                |
: |    Renz Hobby Shop                             |
: |    Free software and electronic sheets         |
: |     http://www.*-*-*.com/ ;  |
: |                                                |
: \------------------------------------------------/

        error message suggests use
        of compiler oriented to
        < 386 pc ...

        memory arrangement is in
                segments

        since size of cited allocation
        ( significantly ) < 64k
        ( evidently ) problem is
        with total of allocation
             ^^^^^^^^^^^^^^^^^^^
        not,  particularly,
        with specific allocation
        cited ...

        ordinarily,  answer to this
        is allocation in
                large memory model
                ^^^^^^^^^^^^^^^^^^
        !
        compiler-development system
        in use may allow this as
        an option ... good to look
        at documentation for such an option
        and re-compile with this !

        a freely available
          ^^^^^^^^^^^^^^^^^
        shareware system for 'c'
        language development ...
        which should work on your system
        ...
        is hi-tech 'pacific' ppd ...
        ppd allows a large model ...
        and this may solve this problem,
        ( ... if present compiler does not ... )

        http://www.*-*-*.com/

--

Ralph Silverman



Mon, 06 Dec 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Group or Segment Class Exceeds 64k

2. Help: gp-relative segments together exceed 64k bytes

3. Segment Size Exceeds 64K

4. code segment exceeds 64K

5. Automatic data segment plus heap exceed 64K

6. Link Error: Group or Segclass exceeds 64K

7. Link Error: Group or Segclass exceeds 64K ?

8. Link error - Group or Segclass exceeds 64k

9. CW2001.01 REPOST - Link Error: Group or Segclass exceeds 64K

10. stack plus data exceeds 64k error

11. Group or Segclass exceeds 64K

12. Group or Segclass exceeds 64K

 

 
Powered by phpBB® Forum Software