porting Linux Application on Qnx

Hi,
Friends

I have an application running under Linux/ X86 platform

I need to port this application to Qnx OS
there is an OS abstraction layer
My question is what is porting and what will I need to do so that this application can run under Qnx any suggestion will be very helpfull

This OS abstraction layer has system calls and also memmory manager i.e maloc, calloc , free what excatly will I have to do

Regards
dEVEN

Your task could range from doing nothing, and simply recompiling your program, or it could be a massive undertaking, depending on what your program does and how it is written.

What you will need to do is analyse what you will need to change in your program, and then think of the best way to change it. If you have any specific questions, then there are many experienced QNX programmers on this forum who can help you.

retval = socket(PF_INET, SOCK_STREAM, 0);

if this is a part of my code which runs on Windows when i include
winsock.h what will I have to do for this to work on Qnx

also how do i identify system call supported by Lunx but not by Qnx

Regards
dEVEN

[code]#include <sys/types.h>
#include <sys/socket.h>

retval = socket(PF_INET, SOCK_STREAM, 0);[/code]

and link the program against socket library

you will identify system call not supported by QNX by trying to compile and run the program and then solving compile and run-time errors