Thanks Rush. but how do you deal with errors like Unixish code like 
netinet/in.h is complaining. Also we use pthread in MacOSX, how they will be 
translated etc?
We have Visual Studio project for WIndows. 
If you can provide little bit more detail that will be helpful.

thanks,

--dheeraj

--- On Thu, 11/11/10, Rush Manbert <[email protected]> wrote:

From: Rush Manbert <[email protected]>
Subject: Re: A Basic Question - Mac OSX & Windows
To: [email protected]
Date: Thursday, November 11, 2010, 11:59 AM

You can go either way, but you can certainly generate the code on one platform 
and use it on the other. We have exactly the same situation. All of our Thrift 
code is generated on the Mac and we check it into our SVN repository from 
there. The Windows side just uses the generated source.

- Rush

On Nov 11, 2010, at 11:45 AM, Dheeraj Goswami wrote:

> Hi All,I have a basic question.
> I need to run the thrift on Mac OSX and Windows. So do I need to generate our 
> code (using our thrift IDLs) on both the platforms (using respective thrift 
> compilers) separately OR the code generated on Mac OSX can be compiled and 
> linked on Windows as well (using some cygwin kind of stuff) ? 
> What is the recommendation and suggestion?
> 
> thanks,
> 
> --dheeraj

Reply via email to