|
BCB에서 제공하는 관련 help 입니다. 참고하세요.
Project|Options
TLIB Specifies options for a static library. This page appears only for projects that are libraries.
TLIB (Project|Options)
Page size : Sets the library page size. Every DOS library file contains a dictionary that appears at the end of the .lib file, following all object modules. For each module in the library, the dictionary contains a 16-bit address of that particular module within the .lib file; this address is given in terms of the library page size (by default, the size is 16 bytes). The library page size determines the maximum combined size of all object modules in the library, and cannot exceed 65,536 pages. The default (and minimum) page size of 16 bytes allows a library of about 1 MB in size. To create a larger library, set this option. The page size must be a power of 2, and it cannot be smaller than 16 or larger than 32,768.All modules in the library must start on a page boundary. For example, in a library with a page size of 32 (the lowest possible page size higher than the default page size of 16), an average of 16 bytes is lost per object module padding. If you attempt to create a library that is too large for the given page size, you will get an error message.
양충규 님이 쓰신 글 :
: library 를 compile 하다가 ( .lib 를 만들려고함 )
:
: [TLib Error] library too large,please restart with library page size 32
:
: 라는 error 가 납니다.
: page size 32 로 compile 하려면 project file 의 어디를 고치거나 수정해야하나요?
:
: 아시는분 부탁으립니다.
|