Re: Checking for 32bit/64bit and using the result in configure.in

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 04, 2005 at 05:56:10PM +0100, Maha Ramanan wrote:
> I am having problems to check if the cpu is 32bit/64 bit and assign -m32
> option to the CXXFLAGS variable based on the result in configure.in file.
> Can anyone help me on this?

You could detect whether one must past `-m32' to the build system native
compiler in order to create an executable that runs on the build system, but the
answer will always be `no'.  An example of a remarkably strange configuration
that such a test would aid is a mips-unknown-linux-gnu system with a
mips64-unknown-linux-gnu toolchain installed as though native.

Why do you need this test?


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux