[ale] Ms -> Linux porting pointer sought

John Mills johnmills at speakeasy.net
Thu May 15 11:06:44 EDT 2003


Bob -

Thanks for the note.

On Wed, 14 May 2003, Transam wrote:

> On Wed, May 14, 2003 at 07:13:50PM -0400, John Mills wrote:

> > Anyone know of a FAQ or crypto-FAQ on this, covering things like 
> > equivalent types, etc? I'm making up an environment-sensing include file 
> > to define handy symbols having different but equivalent meaning in the 
> > worlds of MsVS/VC++ and GNU/Linux.
 
> Try the books:
> 
>      Integrating Linux and Windows
>      Linux for Windows Administrators

Thanks - those look promising (particularly the first one, for what I'm
doing).

> If you want to specifically #ifdef code in an include file, have a look
> at some of the defined symbols in each environment and use one.

That's what I'm doing. Numeric types have not been a problem to define,
but I'm looking for *nix synonyms for generic 'HANDLE' (U16, I guess?)  
and 'SOCKET'. I don't have much in the way of MsWin examples to look at, 
compared to all the *nix sources. I admit to being 'Windows challenged'.

 John Mills
 john.m.mills at alum.mit.edu

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list