Path: news.mathworks.com!not-for-mail
From: Brian Arnold <Brian.Arnold@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: MEX Setup for Mac OS X 10.6
Date: Thu, 11 Feb 2010 17:21:23 -0500
Organization: The MathWorks, Inc.
Lines: 24
Message-ID: <4B7482E3.2030704@mathworks.com>
References: <hl1tn4$fl9$1@fred.mathworks.com>
NNTP-Posting-Host: dev02maci.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1265926883 791 144.212.108.45 (11 Feb 2010 22:21:23 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 11 Feb 2010 22:21:23 +0000 (UTC)
To: Christian <moyer@email.virginia.edu>
User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302)
In-Reply-To: <hl1tn4$fl9$1@fred.mathworks.com>
Xref: news.mathworks.com comp.soft-sys.matlab:606601

Hi Christian,

Are you sure you installed Xcode developer tools? The installer is on 
your Mac OS X install DVD.  Do you have a folder named "Developer" on 
your local hard drive?  If you open Terminal, and type 'gcc --version' 
what is returned? If Terminal can't find gcc either, then the tools are 
not installed.

If you need more help than this, please troubleshoot (Google might help) 
and provide more details.

- Brian

Christian wrote:
> Hello,
> 
> I'm trying to setup a mex compiler for MATLAB R2009b (64bit), running on 
> a Mac Intel 64bit, OS X 10.6 and the newest version of Apple XCode (3.2.1).
> I've run mex -setup, but MATLAB cannot locate the g++/gcc compiler. Is 
> there any general walkthrough for setting up the compiler for a 64-bit 
> system?
> 
> Thanks,
> -Christian