On 9/23/2010 9:17 AM, Rob Tanner wrote:
Hi,

We’ve recycled a handful of Mac Mini 1’s (tiny boxes just large enough to include a single CD drive), and we want to install Nagios on them and put them around in strategic locations on the network so that we can monitor performance. I have the full Apple SDK on my desktop system and so I would like to build Nagios/NRPE and all the various bits and bobs on my machine and then distribute the binaries to the mini’s. The problem is that the mini’s are 32bit and my desktop is 64bit. Can anyone tell me how to compile 32bit on a 64bit machine.

Generally, adding "-m32" to your CFLAGS (and probably CPPFLAGS) environment variables will force 32-bit compilation, assuming you're using gcc.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to