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

Julien Fischer jfischer at opturion.com
Thu Mar 7 16:28:04 AEDT 2013

On Thu, Mar 7, 2013 at 3:50 PM, Peter Wang <novalazy at gmail.com> wrote:

>> > 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.
>> I think we already have an option that is appropriate here, --cross-compiling.
>> You just need to make it do the above.  The only catch I can think of is
>> that when I reconfigure the source distribution on my build machine, then you
>> need to make sure that settings like --max-arg-packing-bits end up being
>> consistent with the pre-generated C files.
> AFAIK --cross-compiling currently just prevents some compile-time
> evaluation,

That's what all it currently does, however the intention was that it should do
whatever is necessary to ensure that the C code we generate is portable.


More information about the developers mailing list