September 14, 2009

Snow LeopardでMacPortsでgcc43

My install procedure (I rm -rf'ed /opt/local after 10.6) was:

1. port install libiconv +universal
2. port install mpfr +universal
3. port install gcc43
4. [wait until it breaks]
5. cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/gcc-4.3.4/gcc/cp/
6. Edit line 76 of the file and remove tree-inline.o from CXX_C_OBJS
7. Resume compiling

I can put together a complete patch if necessary but didn't create a .orig file to diff from when getting this to work.

http://trac.macports.org/ticket/20816