mknrndll fails when Xcode 4 is installed

mknrndll fails when Xcode 4 is installed

Postby sdanner » Thu Jun 02, 2011 4:40 am

mknrndll seems to not work for me since I installed Xcode 4. I figured that the problem is the '-arch ppc' flag which causes gcc to fail, since ppc is not supported in the Xcode 4 toolchain.

Is it possible to remove the '-arch ppc' flag? Or am I wrong and there is a different problem?
sdanner
 
Posts: 5
Joined: Sat Aug 29, 2009 7:24 am

Re: mknrndll fails when Xcode 4 is installed

Postby ted » Thu Jun 02, 2011 10:38 am

What version of NEURON are you using? I would expect this to have been fixed some time ago.
ted
Site Admin
 
Posts: 3591
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine

Re: mknrndll fails when Xcode 4 is installed

Postby sdanner » Sun Jun 05, 2011 6:55 am

My Neuron version is 7.1.
sdanner
 
Posts: 5
Joined: Sat Aug 29, 2009 7:24 am

Re: mknrndll fails when Xcode 4 is installed

Postby hines » Sun Jun 05, 2011 8:42 am

You should not use --enable-UniversalMacBinary . That adds that particular option to the compiler arguments.
The MAC has quite a few variations so I don't know what pattern you are following. i.e if you continue to have
problems, specify your build commands, especially the configure line.
hines
Site Admin
 
Posts: 980
Joined: Wed May 18, 2005 3:32 pm

Re: mknrndll fails when Xcode 4 is installed

Postby sdanner » Mon Jun 06, 2011 4:02 am

Until now I just dropped the .mod files over mknrndll. What are my other options?
sdanner
 
Posts: 5
Joined: Sat Aug 29, 2009 7:24 am

Re: mknrndll fails when Xcode 4 is installed

Postby ted » Mon Jun 06, 2011 8:18 pm

The original subject line
Problem with compiling when Xcode 4 is installed
was rather misleading, because it can be interpreted as "problem compiling NEURON . . . " when it is really about "problem compiling mod files . . . "
I have changed the subject lines of all messages in this thread to eliminate the ambiguity.
ted
Site Admin
 
Posts: 3591
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine

Re: mknrndll fails when Xcode 4 is installed

Postby hines » Tue Jun 07, 2011 3:45 am

There should be a nrnmech_makefile in the nrn/umac/bin folder of your
NEURON installation. See if that file has any -arch ppc strings and if so
try deleting them (first, though, save a copy of the file).
hines
Site Admin
 
Posts: 980
Joined: Wed May 18, 2005 3:32 pm


Return to OS X

Who is online

Users browsing this forum: No registered users and 1 guest

cron