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?
mknrndll fails when Xcode 4 is installed
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: mknrndll fails when Xcode 4 is installed
What version of NEURON are you using? I would expect this to have been fixed some time ago.
Re: mknrndll fails when Xcode 4 is installed
My Neuron version is 7.1.
Re: mknrndll fails when Xcode 4 is installed
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.
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.
Re: mknrndll fails when Xcode 4 is installed
Until now I just dropped the .mod files over mknrndll. What are my other options?
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: mknrndll fails when Xcode 4 is installed
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.
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.
Re: mknrndll fails when Xcode 4 is installed
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).
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).