Colin, on OS X I built RosBE for 32-bits, and I think we should force that for 
the moment...

On 2010-01-01, at 8:26 AM, Colin Finck wrote:

> Dmitry Gorbachev wrote:
>> What does not work?
>> 
>> ./configure CFLAGS="..." ABI=32
> 
> Well, this would require us to build the entire RosBE-Unix toolchain for
> 32-bit as well (while all other RosBE-Unix versions built native 64-bit
> binaries on 64-bit machines so far). It would also make RosBE more
> CPU-dependent, a thing I'd like to avoid.
> If you look into GMP's configure script, you'll also see that there are many
> architectures which don't support a simple ABI=32 value. Even if these
> architectures might currently not be interesting for us, they can certainly
> be in the future.
> 
> GMP's ABI detection seems to be entirely based on the host CPU, but doesn't
> consider the host OS. So if you're running a 32-bit OS on a 64-bit CPU, GMP
> will detect ABI=64 and fail.
> The only workaround I can currently think of would be checking `uname -m`
> for "i*86" and setting ABI=32 in this case. Otherwise we'll let GMP
> autodetect the ABI value.
> 
> But maybe someone else has better ideas.
> I'd be surprised if I'm the first to notice that the common build procedure
> "configure && make && make install" fails for such a simple configuration as
> having a 32-bit OS running on a 64-bit CPU.
> 
> Best regards,
> 
> Colin
> 
> 
> _______________________________________________
> Ros-dev mailing list
> [email protected]
> http://www.reactos.org/mailman/listinfo/ros-dev

Best regards,
Alex Ionescu


_______________________________________________
Ros-dev mailing list
[email protected]
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to