On Dec 20, 2013, at 3:43 AM, Ryan Schmidt <ryandes...@macports.org> wrote:
> > On Dec 20, 2013, at 04:36, Jerry wrote: > >> On Dec 20, 2013, at 2:38 AM, Ryan Schmidt wrote: >> >>> I don’t know how far the problem reaches. >>> >>> I did see in your output that you’re using gcc45. Any particular reason? >>> The default is now gcc48; you could try that instead. That may help; parts >>> of gcc have gained support for -arch flags in recent versions. >> >> The only thing that I can think of is that a non-Macports Ada compiler (GNAT >> GPL, either 2013 or 2011 edition) was found. I don't know how. I almost >> certainly had the 2013 edition last on my PATH when this problem occurred, >> and it reports version 4.7.4. I am having problems on the PLplot project >> that I work on and am fussing around there with a problem, and it is >> possible that I had the 2011 edition early on my path, and it reports >> version 4.5.3. But none of this makes sense because at all times the first >> two items in my path variable are /opt/local/bin:/opt/local/sbin so I don't >> see how a macports build would ever see a GNAT. > > MacPorts does not use your PATH. It uses a sanitized path, specified in the > binpath variable in macports.conf. > > >> In any event I have removed all GNATs from my path and now get this: >> gcc --version >> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build >> 5658) (LLVM build 2336.11.00) >> >> Dunno. Doesn't macports use its own gcc in /opt/local? > > MacPorts usually uses a compiler provided by the Xcode command line tools, > unless a port has a specific reason to use a different compiler, in which > case the port will specify a specific compiler. Ports will never use just > “gcc”. > > >> Can you recommend to me how to use the correct gcc? >> >> Also: Can you comment on Michael's suggestion? > > Michael suggested you install the octave port with the variants you > need/want. You appear to have been trying to install the octave port with its > +gcc45 variant. I’m suggesting you try it’s +gcc48 variant instead. So the third step of his would be sudo port install octave +gcc48 ? Jerry _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users