Backward compatibility

Is there a way to generate an executable with QNX4.25 (Photon 1.14) that
could be run on a QNX4.23 (Photon 1.11), or I have to downgrade my
development server to QNX4.23 ?



Regards,

Denis

Denis Rivard <denis.rivard@loto-quebec.com> wrote:

Is there a way to generate an executable with QNX4.25 (Photon 1.14) that
could be run on a QNX4.23 (Photon 1.11), or I have to downgrade my
development server to QNX4.23 ?

Keep in mind that there are two phases to developing a photon project.

  1. Generating the widgets (which includes the editing process)
  2. Doing the compiles and links.

Doing the compiles and links shouldn’t be too difficult. Just compile
against the 1.11 header files and link against the 1.11 libraries. This
may require editing the makefiles.

The work done under PhAB will be a little trickier. If you examine the
QNX file structure, you will see that QNX has seperqate directories for
each version of photon. They then have a symlink that points to the
current version of photon. You can temporarilly change that symlink to
point to an older version of photon. (You may need to also delete the
photon libraries under /dev/shmem.) Do your PhAB work, then repeat the
process to go back to the latest version of photon.

It’s a lot of work, but it’s not too difficult. Good luck.


Bill Caroselli – Q-TPS Consulting
1-(626) 824-7983
qtps@earthlink.net

Thanks, I’ll try the photon symlink.
Denis

“Bill Caroselli” <qtps@earthlink.net> a écrit dans le message de news:
b30iap$qro$1@inn.qnx.com

Denis Rivard <> denis.rivard@loto-quebec.com> > wrote:
Is there a way to generate an executable with QNX4.25 (Photon 1.14) that
could be run on a QNX4.23 (Photon 1.11), or I have to downgrade my
development server to QNX4.23 ?

Keep in mind that there are two phases to developing a photon project.

  1. Generating the widgets (which includes the editing process)
  2. Doing the compiles and links.

Doing the compiles and links shouldn’t be too difficult. Just compile
against the 1.11 header files and link against the 1.11 libraries. This
may require editing the makefiles.

The work done under PhAB will be a little trickier. If you examine the
QNX file structure, you will see that QNX has seperqate directories for
each version of photon. They then have a symlink that points to the
current version of photon. You can temporarilly change that symlink to
point to an older version of photon. (You may need to also delete the
photon libraries under /dev/shmem.) Do your PhAB work, then repeat the
process to go back to the latest version of photon.

It’s a lot of work, but it’s not too difficult. Good luck.


Bill Caroselli – Q-TPS Consulting
1-(626) 824-7983
qtps@earthlink.net