Hello, I'm trying to install boost on mac using the gcc compiler. I encounter these errors during installation for all libraries: 

    "g++"  -Wl,-R -Wl,"/System/Library/Frameworks/Python.framework/Versions/2.6/lib" -Wl,-R -Wl,"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config"  -o "stage/lib/libboost_prg_exec_monitor.dylib" -Wl,-h -Wl,libboost_prg_exec_monitor.dylib -shared -Wl,--start-group "/Users/andrew/boost/boost/bin.v2/libs/test/build/gcc-4.2.1/release/threading-multi/execution_monitor.o" "/Users/andrew/boost/boost/bin.v2/libs/test/build/gcc-4.2.1/release/threading-multi/debug.o" "/Users/andrew/boost/boost/bin.v2/libs/test/build/gcc-4.2.1/release/threading-multi/cpp_main.o"  -Wl,-Bstatic  -Wl,-Bdynamic  -Wl,--end-group  

...failed gcc.link.dll stage/lib/libboost_prg_exec_monitor.dylib...
gcc.link.dll stage/lib/libboost_unit_test_framework.dylib
ld: unknown option: -R
collect2: ld returned 1 exit status

I have no experience at all using boost in mac, and it is necessary that I use gcc.
I am wondering if anyone could point me to a solution regarding this.

Thanks, 
Andrew