Developing Qnx4.25 Program in Microsoft Windows?

I want to Develope QNX4.25 program in MS Windows,is there some
convenient methodes?Thanks a lot!

On Wed, 24 Aug 2005 17:01:22 +0400, SunyTech <suny_tech@163.com> wrote:

I want to Develope QNX4.25 program in MS Windows,is there some
convenient methodes?
You may try cross-compiling with OpenWATCOM. (Often I do it myself)

It takes having all the libs and headers from the original QNX4 tool-chain.

Tony.

Tank you!
But where I can get Watcom for MsWindows? There is only watcom for QNX in my
QNX CD.
“Tony” <mts.spb.suxx@mail.ru>
???:op.sv0j0ufeo93ri4@mobile.wst.quantum.ru

On Wed, 24 Aug 2005 17:01:22 +0400, SunyTech <> suny_tech@163.com> > wrote:
I want to Develope QNX4.25 program in MS Windows,is there some
convenient methodes?
You may try cross-compiling with OpenWATCOM. (Often I do it myself)
It takes having all the libs and headers from the original QNX4
tool-chain.

Tony.

On Wed, 24 Aug 2005 17:28:58 +0400, SunyTech <suny_tech@163.com> wrote:

where I can get Watcom for MsWindows?
http://www.openwatcom.org/

Tony.

I am so sorry !I didn’t see straight your explain. OpenWATCOM , i can
downlaod from internet.another question ,can compile GUI program for qnx4?

“SunyTech” <suny_tech@163.com> дÈëÏûÏ¢ÐÂÎÅ:dehro4$1ms$1@inn.qnx.com

Tank you!
But where I can get Watcom for MsWindows? There is only watcom for QNX in
my QNX CD.
“Tony” <> mts.spb.suxx@mail.ru
???:> op.sv0j0ufeo93ri4@mobile.wst.quantum.ru> …
On Wed, 24 Aug 2005 17:01:22 +0400, SunyTech <> suny_tech@163.com> > wrote:
I want to Develope QNX4.25 program in MS Windows,is there some
convenient methodes?
You may try cross-compiling with OpenWATCOM. (Often I do it myself)
It takes having all the libs and headers from the original QNX4
tool-chain.

Tony.

On Wed, 24 Aug 2005 17:38:13 +0400, SunyTech <suny_tech@163.com> wrote:

can compile GUI program for qnx4?
Personally me - I never did anything beyong old plain commandline

applications.

Do you want to use Photon AppBuilder on windows? I doubt it is possible…
However, provided that you’ve got all the libs and headers from the Photon
tool-chain - why not?

Tony.

Tony, I fing a lot of versions in ftp://ftp.openwatcom.org/watcom/zips/,but
i don’t know which to downlaod. thx!
“Tony” <mts.spb.suxx@mail.ru>
???:op.sv0lbgl5o93ri4@mobile.wst.quantum.ru

On Wed, 24 Aug 2005 17:28:58 +0400, SunyTech <> suny_tech@163.com> > wrote:
where I can get Watcom for MsWindows?
http://www.openwatcom.org/

Tony.

I can write GUI program without PhAB,but using Photon Lib. thanks!

“Tony” <mts.spb.suxx@mail.ru>
???:op.sv0ltygto93ri4@mobile.wst.quantum.ru

On Wed, 24 Aug 2005 17:38:13 +0400, SunyTech <> suny_tech@163.com> > wrote:
can compile GUI program for qnx4?
Personally me - I never did anything beyong old plain commandline
applications.

Do you want to use Photon AppBuilder on windows? I doubt it is possible…
However, provided that you’ve got all the libs and headers from the Photon
tool-chain - why not?

Tony.

On Wed, 24 Aug 2005 17:46:07 +0400, SunyTech <suny_tech@163.com> wrote:

i don’t know which to downlaod. thx!
I use this one: > http://www.openwatcom.org/ftp/open-watcom-win32-1.3.exe

Tony.

Thank you again. I am download it too.see you later.
Good Night.
“Tony” <mts.spb.suxx@mail.ru>
???:op.sv0mhwo3o93ri4@mobile.wst.quantum.ru

On Wed, 24 Aug 2005 17:46:07 +0400, SunyTech <> suny_tech@163.com> > wrote:
i don’t know which to downlaod. thx!
I use this one: > http://www.openwatcom.org/ftp/open-watcom-win32-1.3.exe

Tony.

I am using VMWARE for running QNX4 together with Windows and I found it
is a good solution for development purposes.

Enrico

SunyTech wrote:

I want to Develope QNX4.25 program in MS Windows,is there some
convenient methodes?Thanks a lot!

Yes, that’s the way i do it .But i factly want to use vmware as target and
develope in MsWindows .
“Enrico Bendinelli” <enricob@prisma-eng.it>
???:deioo3$m3v$1@inn.qnx.com

I am using VMWARE for running QNX4 together with Windows and I found it is
a good solution for development purposes.

Enrico

SunyTech wrote:
I want to Develope QNX4.25 program in MS Windows,is there some
convenient methodes?Thanks a lot!

On Fri, 26 Aug 2005 16:29:06 +0400, SunyTech <suny_tech@163.com> wrote:

i want to use vmware as target and develop in MsWindows.
I compile in winXP and then FTP the binaries into VMware’d QNX4.

However, you can’t check the hardware support of your new code, it’s only
to know if it will [not] SIGSEGV immediatelly or something… Atleast I
could not find a way to map the real hardware into virtual window for QNX4
to see it (beyond HDD, NIC, etc.).

But if you’ve got to crunch data|files - you can have the whole model of
the target.

Tony.

“Tony” <mts.spb.suxx@mail.ru> wrote in message
news:op.sv4cqkn2o93ri4@mobile.wst.quantum.ru

On Fri, 26 Aug 2005 16:29:06 +0400, SunyTech <> suny_tech@163.com> > wrote:
i want to use vmware as target and develop in MsWindows.
I compile in winXP and then FTP the binaries into VMware’d QNX4.

You can install Samba in QNX4 and copy file much more easely then with ftp.
In fact you could make the link command build the executable directory on
the QNX4 filesystem.

However, you can’t check the hardware support of your new code, it’s only
to know if it will [not] SIGSEGV immediatelly or something… Atleast I
could not find a way to map the real hardware into virtual window for QNX4
to see it (beyond HDD, NIC, etc.).

That is indeed not supported by VMWare.

But if you’ve got to crunch data|files - you can have the whole model of
the target.

Tony.

Tony <mts.spb.suxx@mail.ru> wrote:

On Fri, 26 Aug 2005 21:02:36 +0400, Mario Charest <postmaster@127.0.0.1
wrote:
You can install Samba in QNX4 and copy file much more easely then with
ftp.
In fact you could make the link command build the executable directory
on the QNX4 filesystem.
Yo!
Thanks a lot!!! It’s a great idea!

Or, I think we ship SMBFsys, which should allow you to go the other way –
mount your Windows filesystem from inside the QNX4 system, and then run
from the windows filesystem where you built your executables.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com

On Fri, 26 Aug 2005 21:02:36 +0400, Mario Charest postmaster@127.0.0.1
wrote:

You can install Samba in QNX4 and copy file much more easely then with
ftp.
In fact you could make the link command build the executable directory
on the QNX4 filesystem.
Yo!

Thanks a lot!!! It’s a great idea!

Tony.

On Fri, 26 Aug 2005 21:06:29 +0400, David Gibbs <dagibbs@qnx.com> wrote:

mount your Windows filesystem from inside the QNX4 system, and then run
from the windows filesystem where you built your executables.
Not quite clear, but I’ll try it too.

Tony.

PS
How do I tell QNX4 that the binary on the windows disk is an executable?
Should I “chmod 555” them?

Tony <mts.spb.suxx@mail.ru> wrote:

On Fri, 26 Aug 2005 21:06:29 +0400, David Gibbs <> dagibbs@qnx.com> > wrote:
mount your Windows filesystem from inside the QNX4 system, and then run
from the windows filesystem where you built your executables.
Not quite clear, but I’ll try it too.

Yeah, I didn’t give all the details of how to do it.

On the windows side, mark either your disk, or whatever part of your
tree you want “mountable” as shared.

Then, a script something like:

#!/bin/sh
/bin/SMBfsys &
sleep 2
/usr/bin/user_smb {windows_login} {windows_password}
/bin/mount_smb “//{windows_machine_name}/directory$” /qnx/visible/directory

PS
How do I tell QNX4 that the binary on the windows disk is an executable?
Should I “chmod 555” them?

chmod won’t work. I think you want the -xa option to SMBfsys, which says
to treat all files on the Windows system as executable. (Then, you just
have to be smart enough to not run things that aren’t.)

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com