1.
How to print my program in QNX home?
2.
How to access my QNX home from ECE home directory?
3.
How to browse the web and access your webmail?
4. How to edit and compile C/C++
file in QNX?
5. How to get QNX help and
refenece?
6. QCC, qcc, gcc, g++,
confused these compilers?
No printing just yet on QNX machine. You can however
access your files from the rest of the ECE network,
and print that way. See the following question.
You must login to an ENCS system (e.g. 'login.encs')
by SSH Shell client or SSH File Transfer Client, such
as: ssh login.encs.concordia.ca, by using your ENCS
account, for example a_qnxuser.
You QNX home directory will be in
/teaching/realtime/home/a/a_qnxuser
Then use the following command to change directory:
cd /teaching/realtime/home/a/a_qnxuser
cp ~/
In this way, you can copy your files between ENCS
home and QNX home.
FYI, now we have not a solution to copy files from
ECE home directly on a QNX machine.
Open Mozilla, then click on "Edit" and "Preferences".
Click the "Advanced", and select "Proxies", select
the "Manual proxy configuration" in:
HTTP Proxy field put ‘proxy-realtime’ and port 3128.
SSL Proxy field put ‘proxy-realtime’ and port 3128.
Then you can use Mozilla to open your hotmail, Yahoo or gmail.
If you want to access your ENCS mail,
please goto https://mail.encs.concordia.ca/ .
There are two ways to build your QNX program:
by command line or in IDE.
Using the command line method, you need to edit
your codes in one editor, like vi, ped. Once you
finish coding, you can use g++ to compile it. You
can do it in this way by accessing the QNX local
or remotely (from your home).
If you want to edit/debug your codes in IDE, you have
to come QNX lab (h-803). So far IDE can not run
remotely, it might be possible in someday by QNX
Software. But you should already have graduated from
Concordia at that time, :-)
You can visit www.qnx.com or www.openqnx.com to some help.
On your QNX machine, you also can open the helpviewer from
- Launch -> Help
- Click the icon Help on the system Shelf.
You can make a search on the Helpviewer, for example,
input the keyword pthread_create in search box, then
click Go. On this way, you can easily find some QNX
reference for the functions, classes, etc.
It may be easier for you to use the cross compiler to debug
your code, specially you get headache about the IDE :-) .
Sometime you may be confused with the compilers
provided by QNX.
The gcc/g++ are part of the core install of QNX Momentics.
The qcc and QCC programs are just "drivers", just like
gcc and g++. They are all drivers for the core backend
bits of the gcc toolchain (cpp0, etc). QNX makes qcc/QCC
to also easier cross compiling between CPUs as well as
possibly support other compilers backends in the future.
Once you get the problem about <iostream.h> when
using gcc/g++, please try to use QCC/qcc. And QNX
recommends you to use QCC/qcc actually.
More information, check on-line help about these
compilers.