<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 9/23/2010 9:17 AM, Rob Tanner wrote:
<blockquote cite="mid:C8C0CBBF.7102E%25rtanner@linfield.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>Building MAC OSX binaries</title>
<font face="Calibri, Verdana, Helvetica, Arial"><span
style="font-size: 11pt;">Hi,<br>
<br>
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.</span></font><br>
</blockquote>
<br>
Generally, adding "-m32" to your CFLAGS (and probably CPPFLAGS)
environment variables will force 32-bit compilation, assuming you're
using gcc.<br>
<br>
</body>
</html>