chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] csc-CVS (i686-pc-linux-gnu): -compress-literals mak


From: felix
Subject: Re: [Chicken-users] csc-CVS (i686-pc-linux-gnu): -compress-literals makes compiled program crash
Date: Fri, 31 Jan 2003 22:28:32 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

Sven Hartrumpf wrote:
Hi all.

I am trying to use the new compiler option -compress-literals (for example
with value 50), but the resulting program crashes:

Could the size of a string be a problem for ##sys#read-form-string?

Any other ideas?


I just fixed a bug that is likely to be the source of this problem:
the generated string constant was not created via `write', put effectively
by using `display' (stupid). Try the new CVS version.

Do you have large literal objects in your code? Note that program-startup
will be longer. On the other hand, if you do (have large literal data structures
embedded in your code), the C compile-times can be reduced dramatically.
But beware: this feature is a hack!


cheers,
felix






reply via email to

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