saprykin / plibsys

Highly portable C system library: threads and synchronization primitives, sockets (TCP, UDP, SCTP), IPv4 and IPv6, IPC, hash functions (MD5, SHA-1, SHA-2, SHA-3, GOST), binary trees (RB, AVL) and more. Native code performance.
MIT License
672 stars 74 forks source link

Run binaries on QNX target #73

Closed abhaynayak24 closed 5 years ago

abhaynayak24 commented 5 years ago

I'm able to execute the simple hello world code on momentics IDE on windows host with QNX OS running on VMware. However, is there a way to run the binaries directly on QNX?

saprykin commented 5 years ago

What do you mean by run directly? You can always use SSH or FTP to transfer binaries, login to QNX and run the binaries on QNX without Momentics.

abhaynayak24 commented 5 years ago

Thanks, but I'm not able to find the executables on my host (windows). Where are these binaries stored?

saprykin commented 5 years ago

I don't remember exactly where Momentics stores them, but somewhere in the build folder of the project. Look in the settings.

abhaynayak24 commented 5 years ago

Thanks @saprykin Just one more things, I tried sending the files using SSH but SSH doesn't work on QNX, I tried the password "root" but it says its incorrect. The graphics-startup.sh also fails to run, can't see the UI. Probably the image has some issue. Can you suggest anything?

saprykin commented 5 years ago

You need to configure SSH server on QNX. In order to be able to login as root remotely via SSH, you need to enable PermitRootLogin in the SSH server config.