[haiku-development] Re: Latest changes and general status.

On 2008-04-24 at 03:05:24 [+0200], Bruno Albuquerque <bga@xxxxxxxxxxxxx> 
wrote:
> Ingo Weinhold escreveu:
> 
> > You could try to build a jam with 16 KB limit (can be set in jam.h), but 
> > then
> > the build will probably fail nevertheless, since we might indeed have 
> > rules
> > that require longer lines. We'll have to adjust that limit in the kernel 
> > and
> > maybe find a better way to deal with the parameters. The syscalls for 
> > exec*()
> > and load_image() could for instance already provide a flattened
> > representation of the buffer, so that the kernel has less work copying it.
> 
> So I changed jam to limit to 16 Kb and tried again. I always heard that
> an image is worth more than 1000 words so see attached image. ;)

Nice!

> Would it be a problem to make the default for our jam 16 Kb until bash
> is updated?

Since the build system use absolute path in most cases, the required maximal 
command line length depends primarily on where you have your Haiku source and 
generated directory. We raised the limit in jam to 40 KB, because the 
previous 20 KB weren't enough e.g. in my setup. So I wouldn't want to change 
that in general. Fixing the kernel limit is something we have to do earlier 
or later anyway.

CU, Ingo

Other related posts: