[m-dev.] 32-bit sources on 64-bit target

Peter Wang novalazy at gmail.com
Thu Mar 7 15:06:18 AEDT 2013


On Thu, 7 Mar 2013 12:17:20 +1100, Peter Wang <novalazy at gmail.com> wrote:
> 
> So there will be problems whenever a data structure with those
> characteristics crosses the standard library/user program boundary.
> 
> I think I can fix the first by allocating two words to a `float'
> constructor argument whenever --no-unboxed-float is used, even when it
> is unnecessary on 64-bit.
> 
> The second, I'm guessing, does not actually occur in the standard
> library.  A solution would be to restrict enum packing to using at
> most 32 bits of a word, with an option like --max-arg-packing-bits=32.

Actually, why don't we "just" make the srcdist build and install the
proper stage 2 compiler/library, since everyone is recommended to do
that anyway.  The stage1 compiler from the pregenerated C sources should
be fine as its compiler and library parts should agree.

Peter



More information about the developers mailing list