Thread overview
pagesize when using LIB
Jan 25, 2004
Lars Ivar Igesund
Jan 26, 2004
Walter
Jan 26, 2004
Lars Ivar Igesund
Jan 27, 2004
Walter
January 25, 2004
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
"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
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
"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.