<HTML><FONT FACE=arial,helvetica><FONT COLOR="#000000" FACE="Times" FAMILY="SERIF" SIZE="2">I have made the changes necessary to get some of the COIN libraries running on the Mac OS X Unix kernel (Darwin).&nbsp;  Darwin is based on BSD unix (netBSD 4.4) and also includes some elements from FreeBSD and GNU (gcc in particular).&nbsp;  I have successfully compiled and run:&nbsp;  VOL, CLP, OSI, CGL, and BCP.&nbsp;  The unitTest for CLP completes successfully and MaxCut is successful on the junger1 test problem.<BR>
<BR>
I realize that there probably won’t be many who use this platform, but since its what I’ve got, I’m hoping you’ll make the changes necessary to support it.<BR>
<BR>
Here are the code changes:<BR>
<BR>
1.)&nbsp;  ./COIN/Coin/include/CoinFinite.hpp<BR>
<BR>
Add the following code before the last #endif in the file:<BR>
<BR>
#if defined(__GNUC__) &amp;&amp; defined(__MACH__)<BR>
extern "C" {<BR>
&nbsp;&nbsp;  int isnan(double);<BR>
}<BR>
inline int CoinFinite(double d);<BR>
# define CoinFinite finite<BR>
# define CoinIsnan&nbsp;  isnan<BR>
#endif<BR>
<BR>
2.)</FONT><FONT COLOR="#000000" FACE="Arial" FAMILY="SANSSERIF" SIZE="2"> </FONT><FONT COLOR="#000000" FACE="Times" FAMILY="SERIF" SIZE="2">./COIN/Bcp/include/BCP_os.hpp<BR>
<BR>
Add the following code before the last #endif in the file:<BR>
<BR>
#if defined(__MACH__) &amp;&amp; defined(__GNUC__) <BR>
#&nbsp;  include "BCP_MACH.hpp"<BR>
#endif<BR>
<BR>
3.)</FONT><FONT COLOR="#000000" FACE="Arial" FAMILY="SANSSERIF" SIZE="2"> </FONT><FONT COLOR="#000000" FACE="Times" FAMILY="SERIF" SIZE="2">Add a couple of OS specific files<BR>
<BR>
Need to add the file Makefile.Darwin to the COIN/Makefiles directory and the file BCP_MACH to the COIN/Bcp/include directory.&nbsp;  I have not included these files here in the interest of space.&nbsp;  What is the best way to get these files into the library?<BR>
<BR>
Darwin does not support shared libraries, so all the libraries must be created as STATIC, not SHARED (just something the user needs to be aware of when trying to make the libraries).<BR>
<BR>
Also, I needed to make a change in the OsiClpSolverInterface.cpp file.&nbsp;  When making the library, the system was not finding the #include &lt;time.h&gt; file.&nbsp;  I needed to change this line to #include &lt;sys/time.h&gt; to get the time functions needed.&nbsp;  Not sure if this is an idiosyncrasy of Darwin or a bug in the code.&nbsp;  If it's not a bug, I’ll need to add a conditional to handle the #include for Darwin while leaving it the same for everyone else.<BR>
<BR>
Are there any issues with adding these changes to the library?<BR>
</FONT><FONT COLOR="#000000" FACE="Geneva" FAMILY="SANSSERIF" SIZE="2"></FONT></HTML>