[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] OpenEXR from shared libs.

From: Bob Friesenhahn
Subject: Re: [Openexr-devel] OpenEXR from shared libs.
Date: Tue, 6 Mar 2007 09:14:53 -0600 (CST)

On Mon, 5 Mar 2007, Drew Hess wrote:

Replacing the batch of platform check #ifdef's with a HAVE_LARGE_STACK
symbol or something is a good idea; but auto-detecting the stack size
by executing a program, if it's possible to do that reliably and
portably, won't work for cross-compiles.  OpenEXR's autoconf build
system is already broken for cross-compiles, but it probably shouldn't
be, especially if we want to encourage using OpenEXR in embedded
systems such as digital cameras.

This is a very good point. Another thing to consider is that static tests may not be as valuable as one thinks since the default thread size may abe a system configurable option so the problem can be solved (or aggravated) by changing a system setting. Do to this, it may be useful for operation to be influenced by a run-time setting rather than compiled in.

Requesting the desired stack size (at run-time) is the obvious first step, but of course the system is not required to support the requested stack size.

Bob Friesenhahn
GraphicsMagick Maintainer,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]