Re: [Mono-dev] Getting rid of String.InternalSetLength

2009-12-04 Thread Paolo Molaro
On 12/03/09 Mark Probst wrote: > SGen, our new garbage collector, doesn't explicitly store an object's > size but determines it via the object's vtable and, in the case of > arrays and strings, via the length field. String.InternalSetLength > changes that length field, which means that, from SGen'

Re: [Mono-dev] Getting rid of String.InternalSetLength

2009-12-04 Thread Rafael Teixeira
One such alternative is to be more similar to ArrayLists that have both a Capacity and a Length attributes, but that is surely overkill as Strings are immutable after creation, so I think StringBuilder is the one messing with the immutability of strings and should be corrected as you propose Fun,

[Mono-dev] build fails on genmdesc

2009-12-04 Thread Gerard Braad
Currently trying to get Mono packaged for Maemo 5 (and the N900). Unfortunately I encounter some issues. I try to build Mono 2.4.2.3 in scratchbox using the host-gcc, but the build fails on ./genmdesc ./cpu-x86.md cpu-x86.h x86_desc with a make: *** [cpu-x86.h] Floating point exception (core dumpe

Re: [Mono-dev] build fails on genmdesc

2009-12-04 Thread Zoltan Varga
Hi, The mono build runs executables compiled during the build, like genmdesc, so I don't think it will run in scratchbox. Zoltan On Fri, Dec 4, 2009 at 8:49 PM, Gerard Braad wrote: > Currently trying to get Mono packaged for Maemo 5 (and the N900). > Unfortunately I enco

Re: [Mono-dev] build fails on genmdesc

2009-12-04 Thread Thad Thompson
Gerard, Not sure that this will help, but I've built Mono for a couple of different ARM processors using Scratchbox2 without too much pain. Below I've attached the build steps from one of the more recent ones. You may not need the CFLAGS="-DARM_FPU_FPA" directive. -Thad -