I recommend to use the CMake build, so you can pass specific compiler
and co via env. I'm pretty sure you will find some cmake toolchain files
for wxworks.

https://github.com/apache/thrift/blob/master/build/cmake/README.md

;-r

Quoting Abhijit Bhopale <[email protected]>:

Thank you Ben for your suggestions. Currently I am using few features from
boost 1.49 for gSOAP based project and planning to migrate it to thrift.

I have added boost 1.53 & thrift library source files in simple thrift
server sample in VxWorks workbench workspace, could compile some thrift
engine generated files like constants, types & service but when it comes to
server file it breaks badly giving many errors in boost and thrift as well.
like /boost/cstdint.hpp:472:9: error: #error defaults not correct; you must
hand modify boost/cstdint.hpp.

I am using thrift-0.9.3/config.h file from Ubuntu build with adding &
disabling some build macros.

Thanks,
Abhijit


On Tue, Feb 9, 2016 at 5:43 AM, Ben Craig <[email protected]> wrote:

Recent versions of boost have only been tested with VxWorks 6.9.  So you're
in uncharted territory before you even get to the Thrift side of things.

I seem to recall that VxWorks tended to have a finicky sockets layer.  So
beware of that when you are testing.

Your quickest path to productivity is just going to be putting the Thrift
library files in your build directly, rather than building a .so.  Thrift
isn't currently set up to build a .so.

On Mon, Feb 8, 2016 at 6:27 AM, Abhijit Bhopale <[email protected]>
wrote:

> Hi All,
>
> I am evaluating Apache thrift for VxWorks 6.8 based device.
>
> I need steps to build thrift library(.so) or sample application with
> directly including thrift source files on vxWorks.
>
> I am using Windriver Workbench 3.2 on windows 7 and target is
PENTIUM3gnu.
> I can use boost features like shared_ptr etc  but not C++ 11.
>
> It would be great help if someone could suggest a way out. Anybody here
> ever tried using thrift on VxWorks? If yes what was the result?
>
> I could see* | -vxworks* |*  in thrift-0.9.3/configure &
> thrift-0.9.3/configure.sub files.
>
> Thanks,
>
> Abhijit
>



Reply via email to