Besides the above suggestions, just start compiling your program on RTP. Many
things will break. Since using Watcom in QNX4, if you are not used to using the
gnu tools, and the library naming and linking conventions, etc, you will need to
read a good source for gnu tools. There was an article in Dobbs, I think, on
cross platform targeting with gnu tools. If I remember tonight I will post the
issue #. Or if you want to remind me, you can e.mail me at firstname.lastname@example.org.
I don’t know how good the article is, I haven’t read it yet. I just came across
it again, while cleaning up old stacks of magazines, and now that I am using
gnu, I’m going to read it.
But basically, compiling and fixing the errors is the start. You will run into
missing headers, headers you don’t need, symbols that aren’t defined, which
you’ll have to search the headers to see what you need to include, etc. You
will have to learn what calls to replace. There is a whole table of replaced
calls in the migration guide that I find very useful. You can either build with
the migration library to keep using all the old qnx4 calls (easiest), or you can
replace the qnx4 calls with the new NTO calls (harder). If you search these
newsgroups for my name, you will find several discussion I have had trying to
learn the new API’s. The QSSL folks are extremely helpful and responsive, if
you ask pointed, detailed questions.
There is also an O’Reiley book all about the subject of porting UNIX apps that
you might want to check out.
Mike Montoya wrote:
I am new at Neutrino and would like to port a QNX4 program over to Neutrino.
Does anyone have a step by step way of doing it? I think I’ve downloaded all
the development tools needed, I just can’t seem to figure out how to make my
QNX4 program run in Neutrino. Can anyone help me?