64 bit compile options?
Thomas Guyot-Sionnest
dermoth at aei.ca
Fri Dec 12 10:15:13 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/12/08 04:38 PM, Steven D. Morrey wrote:
> Hi is there any option to compile nagios to 64 bit from the sources?
> If so could someone explain the options and / or kindly point me in the
> direction of the FAQ where this part is explained?
Normally you don't have to do anything, just compile and install. the
"file" utility can be used to check this:
> $ file plugins/check_dummy
> plugins/check_dummy: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), not stripped
On some OS you will have to add some compiler flags, or possibly switch
to a different compiler. For example on my Solaris server:
> $ file plugins/check_dummy
> plugins/check_dummy: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped
Now if I run configure with "CFLAGS='-m64', I get this:
> $ file plugins/check_dummy
> plugins/check_dummy: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped, no debugging information available
- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJQiuh6dZ+Kt5BchYRAm+cAKCqWgqBKjLLTfx/RoV0EWiVe+88VwCgrxKJ
KObEm5xsM0Pipy9w4O6txmE=
=0sDr
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
More information about the Developers
mailing list