Building on non-std architectures

David Holmes david.holmes at
Tue Sep 30 17:57:25 UTC 2014

Hi Dave,

On 1/10/2014 2:05 AM, pointo1d wrote:
> Hi all ,
> I'm hoping that someone on here might have previously encountered the
> problem I'm now trying to solve, ergo trying to modify the autoconf
> scripts to support the building of a 31 bit target on a 64 bit machine -
> the compiler on the host does take the -m31 option, but autoconf seems
> to only recognise multiples of 4 bits - I could be and probably am,
> wrong in making this inference.

For general cross-compilation we just set extra-cflags to pass things 
like this through; and don't set the --with-target-bits option.

Aside: I would think that supporting 31-bit would require a huge number 
of changes to the sources (unless it is somehow masked by the C/C++ 

David H.

> TIA & rgds ,

More information about the build-dev mailing list