[MacPorts] #20933: gcc42, gcc43 on snow leopard: in libmpfr.dylib, libgmp.dylib, libiconv.dylib, file is not of required architecture

MacPorts noreply at macports.org
Sun Sep 27 17:57:51 PDT 2009


#20933: gcc42, gcc43 on snow leopard: in libmpfr.dylib, libgmp.dylib,
libiconv.dylib, file is not of required architecture
------------------------------+---------------------------------------------
 Reporter:  ram@…             |       Owner:  mww@…           
     Type:  defect            |      Status:  new             
 Priority:  Normal            |   Milestone:                  
Component:  ports             |     Version:                  
 Keywords:  snowleopard       |        Port:  gcc42, gcc43    
------------------------------+---------------------------------------------

Comment(by dave@…):

 Replying to [comment:37 dave@…]:
 > I think this thread may hold the answer:  http://gcc.gnu.org/ml/gcc-
 bugs/2009-08/msg02240.html

 Along with making the patch mentioned in that thread (I didn't try without
 the patch) I was able to build g++4.4 by using the following:
 {{{
 ~/src/gcc-4.4.1/configure --enable-languages=c++ --build=x86_64-apple-
 darwin10 --host=x86_64-apple-darwin10 --with-gmp=/opt/local --with-
 mpfr=/opt/local --with-libiconv-prefix=/opt/local
 --prefix=/usr/local/gcc-4.4.1 CC="/opt/local/libexec/ccache/gcc
 -L/opt/local/lib" CXX=/opt/local/libexec/ccache/g++ && make -j3
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20933#comment:38>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list