Tutorial :How do I specify 64-bit machine architecture when building boost libraries with bjam on solaris?



Question:

How do I specify 64-bit machine architecture when building boost libraries with bjam on solaris?


Solution:1

Not a real answer, just a note - Sun compiler is something boost has always had trouble with. Only fairly recent versions are supported and you need STLport. Take a look here and here.

You might want to play with the [compiler options] part of the module syntax.

Edit:

Found this specific link that tells this should work:

bjam toolset=sun stdlib=sun-stlport address-model=64 stage  

No doubt, it requires Sun Studio 12.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »