Thread overview | ||||||
---|---|---|---|---|---|---|
|
January 25, 2004 pagesize when using LIB | ||||
---|---|---|---|---|
| ||||
Hi I used LIB to build a static library out of some object files (compiled from D source), but the basic command line didn't work as the page size was too small. Using 32 worked fine. What I would like to know is if there are some rule that decides the necessary page size somewhat automatically? Is it the number of objectfiles or the combined filesize of them or something else? I want to automate the use of LIB, but this sort of stops that (unless 32 is big enough for everything). Lars Ivar Igesund |
January 26, 2004 Re: pagesize when using LIB | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lars Ivar Igesund | "Lars Ivar Igesund" <larsivar@igesund.net> wrote in message news:bv1fa7$qeq$1@digitaldaemon.com... > Hi > > I used LIB to build a static library out of some > object files (compiled from D source), but the > basic command line didn't work as the page size > was too small. Using 32 worked fine. > What I would like to know is if there are some > rule that decides the necessary page size somewhat > automatically? Is it the number of objectfiles or > the combined filesize of them or something else? > I want to automate the use of LIB, but this sort > of stops that (unless 32 is big enough for everything). The pagesize is an unfortunate artifact of the ancient lib file format. Just set it to a large size and leave it at that. |
January 26, 2004 Re: pagesize when using LIB | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Walter wrote:
> "Lars Ivar Igesund" <larsivar@igesund.net> wrote in message
> news:bv1fa7$qeq$1@digitaldaemon.com...
>
>>Hi
>>
>>I used LIB to build a static library out of some
>>object files (compiled from D source), but the
>>basic command line didn't work as the page size
>>was too small. Using 32 worked fine.
>>What I would like to know is if there are some
>>rule that decides the necessary page size somewhat
>>automatically? Is it the number of objectfiles or
>>the combined filesize of them or something else?
>>I want to automate the use of LIB, but this sort
>>of stops that (unless 32 is big enough for everything).
>
>
> The pagesize is an unfortunate artifact of the ancient lib file format. Just
> set it to a large size and leave it at that.
>
>
And is 32 a large size?
Lars Ivar Igesund
|
January 27, 2004 Re: pagesize when using LIB | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lars Ivar Igesund | "Lars Ivar Igesund" <larsivar@igesund.net> wrote in message news:bv41pe$21n1$1@digitaldaemon.com... > Walter wrote: > > "Lars Ivar Igesund" <larsivar@igesund.net> wrote in message news:bv1fa7$qeq$1@digitaldaemon.com... > > > >>Hi > >> > >>I used LIB to build a static library out of some > >>object files (compiled from D source), but the > >>basic command line didn't work as the page size > >>was too small. Using 32 worked fine. > >>What I would like to know is if there are some > >>rule that decides the necessary page size somewhat > >>automatically? Is it the number of objectfiles or > >>the combined filesize of them or something else? > >>I want to automate the use of LIB, but this sort > >>of stops that (unless 32 is big enough for everything). > > > > > > The pagesize is an unfortunate artifact of the ancient lib file format. Just > > set it to a large size and leave it at that. > > > > > > And is 32 a large size? No. I think 512 is the largest. |
Copyright © 1999-2021 by the D Language Foundation