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

StackOverflow https://stackoverflow.com/questions/3143000

Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top