Building Boost on Mac OS X
I've been trying to build boost-1_31_0 on Mac OSX (10.3.5). I first tried with the default compiler, and then I installed XCode 1.5 to get gcc build 1666, which seems to be what is listed on the main site. After all this, the problem I get is: c++ unrecognized option `-shared' As near as I can tell, it builds everything except for the shared libraries. I would really prefer to use the shared libraries, though if I can get my program to compile against the static it probably would be okay. Does anywone know of a workaround? I read something online that said "try using -G instead of -shared", but that just gave me -G as an unrecognized option. I'm trying to build CVS right now, but I don't know how stable/etc it is. I would much rather use a release, because if I download it later, I know it will still be the same code. Any pointers would be appreciated. John =:->
"try using -G instead of -shared", but that just gave me -G as an unrecognized option.
I would rather recommend using -dynamiclib instead of -shared thomas John Meinel wrote:
I've been trying to build boost-1_31_0 on Mac OSX (10.3.5). I first tried with the default compiler, and then I installed XCode 1.5 to get gcc build 1666, which seems to be what is listed on the main site.
After all this, the problem I get is:
c++ unrecognized option `-shared'
As near as I can tell, it builds everything except for the shared libraries. I would really prefer to use the shared libraries, though if I can get my program to compile against the static it probably would be okay.
Does anywone know of a workaround? I read something online that said "try using -G instead of -shared", but that just gave me -G as an unrecognized option.
I'm trying to build CVS right now, but I don't know how stable/etc it is. I would much rather use a release, because if I download it later, I know it will still be the same code.
Any pointers would be appreciated.
John =:->
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
You can also have a look at the fink project : http://fink.sourceforge.net/ it is quite straightforward to install boost binaries and headers thomas John Meinel wrote:
I've been trying to build boost-1_31_0 on Mac OSX (10.3.5). I first tried with the default compiler, and then I installed XCode 1.5 to get gcc build 1666, which seems to be what is listed on the main site.
After all this, the problem I get is:
c++ unrecognized option `-shared'
As near as I can tell, it builds everything except for the shared libraries. I would really prefer to use the shared libraries, though if I can get my program to compile against the static it probably would be okay.
Does anywone know of a workaround? I read something online that said "try using -G instead of -shared", but that just gave me -G as an unrecognized option.
I'm trying to build CVS right now, but I don't know how stable/etc it is. I would much rather use a release, because if I download it later, I know it will still be the same code.
Any pointers would be appreciated.
John =:->
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
John Meinel
-
Thomas Lemaire